Skip to content

Commit 933c310

Browse files
Merge pull request #1570 from TechnologyEnhancedLearning/TD-6384-MoveUseCorsToAfterUseRouting
Moved UseCors after UseRouting
2 parents 0a3adef + 507f772 commit 933c310

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)