6 references to Cors
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (1)
150if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins))
DashboardWebApplication.cs (4)
326if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 332var corsOptions = dashboardOptions.Otlp.Cors; 499if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 566if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
43if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))