Added cors after routes

This commit is contained in:
2026-09-11 14:54:25 +02:00
parent b99ebf657c
commit 9e611cb79c
4 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -106,8 +106,8 @@ app.UseHsts();
app.UseHttpsRedirection();
app.UseRouting();
app.UseOutputCache();
app.UseCors("AllowFrontend");
app.UseOutputCache();
app.UseAuthentication();
app.UseAuthorization();