6 references to Cors
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (1)
126if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins))
DashboardWebApplication.cs (4)
203if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 209var corsOptions = dashboardOptions.Otlp.Cors; 294if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 361if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
38if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))