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