3 references to DashboardOtlpCorsAllowedOriginsKeyName
Aspire.Hosting (1)
Dashboard\DashboardLifecycleHook.cs (1)
276context.EnvironmentVariables[DashboardConfigNames.DashboardOtlpCorsAllowedOriginsKeyName.EnvVarName] = allowedOrigins;
Aspire.Hosting.Tests (2)
Dashboard\DashboardResourceTests.cs (2)
342Assert.Equal(expectedAllowedOrigins, config.Single(e => e.Key == DashboardConfigNames.DashboardOtlpCorsAllowedOriginsKeyName.EnvVarName).Value); 382Assert.DoesNotContain(config, e => e.Key == DashboardConfigNames.DashboardOtlpCorsAllowedOriginsKeyName.EnvVarName);