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