6 references to Cors
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (1)
143if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins))
DashboardWebApplication.cs (4)
243if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 249var corsOptions = dashboardOptions.Otlp.Cors; 409if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 489if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
46if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))