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