6 references to Cors
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (1)
135if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins))
DashboardWebApplication.cs (4)
215if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 221var corsOptions = dashboardOptions.Otlp.Cors; 339if (dashboardOptions.Otlp.Cors.IsCorsEnabled) 420if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
44if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))