Skip to content

Commit 507f772

Browse files
committed
Moved UseCors after UseRouting
1 parent 0a3adef commit 507f772

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LearningHub.Nhs.WebUI/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@
9191
app.UseHttpsRedirection();
9292
}
9393

94-
app.UseCors("MoodleCORS");
95-
9694
app.UseRouting();
9795

96+
app.UseCors("MoodleCORS");
97+
9898
app.UseAuthentication();
9999
app.UseAuthorization();
100100

0 commit comments

Comments
 (0)