6 references to AllowedOrigins
Aspire.Dashboard (6)
Configuration\DashboardOptions.cs (3)
126if (string.IsNullOrEmpty(HttpEndpointUrl) && !string.IsNullOrEmpty(Cors.AllowedOrigins)) 145[MemberNotNullWhen(true, nameof(AllowedOrigins))] 146public bool IsCorsEnabled => !string.IsNullOrEmpty(AllowedOrigins);
DashboardWebApplication.cs (2)
211builder.WithOrigins(corsOptions.AllowedOrigins.Split(',', StringSplitOptions.RemoveEmptyEntries | StringSplitOptions.TrimEntries)); 360if (!string.IsNullOrEmpty(dashboardOptions.Otlp.Cors.AllowedOrigins))
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
38if (!string.IsNullOrEmpty(options.Cors.AllowedOrigins))