update cors
parent
2f7e600372
commit
e40fe7e37f
|
|
@ -41,6 +41,7 @@ builder.Services.AddScoped<IEmailSender, EmailSender>(s =>
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
|
app.UseCors(CorsPolicy);
|
||||||
|
|
||||||
app.MapGet("/", () => $"OFB API - {app.Environment.EnvironmentName} - {appSettings.Environment}");
|
app.MapGet("/", () => $"OFB API - {app.Environment.EnvironmentName} - {appSettings.Environment}");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue