6 references to Cors
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (1)
132if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins))
DashboardWebApplication.cs (4)
222if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 228var corsOptions = dashboardOptions.Otlp.Cors; 352if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 443if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
44if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))