Skip to content

Commit

Permalink
try fix cors policy name
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightczx committed Feb 1, 2024
1 parent d35eb84 commit 254daf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snap.Hutao.Server/Snap.Hutao.Server/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public static void Main(string[] args)

// Routes
// CORS
app.UseCors("CorsPolicy");
app.UseCors();

// Authentication
app.UseAuthentication();
Expand Down

0 comments on commit 254daf6

Please sign in to comment.