diff --git a/src/GeoCop.Api/Program.cs b/src/GeoCop.Api/Program.cs index 7e97f62b..06582dbc 100644 --- a/src/GeoCop.Api/Program.cs +++ b/src/GeoCop.Api/Program.cs @@ -131,6 +131,9 @@ } else { + // Disallow CORS for all origins in production + app.UseCors(); + app.UseDefaultFiles(); app.UseStaticFiles(); }