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