Skip to content

Commit

Permalink
Added settings to app
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenriseld committed May 20, 2024
1 parent c63da6f commit ee0535e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gallery.API/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,8 @@
app.CreateAdminAccount();

app.UseHttpsRedirection();
app.UseCors("CorsPolicy");
app.UseAuthentication();
app.UseAuthorization();

app.Run();

0 comments on commit ee0535e

Please sign in to comment.