Skip to content

Commit

Permalink
Merge pull request #13 from AcademiaY4/feat/user-management
Browse files Browse the repository at this point in the history
fix:CORSMod
  • Loading branch information
moshdev2213 authored Oct 7, 2024
2 parents 23a6b19 + c6c5d3b commit 5cc818d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
}

// the default cors option
app.UseCors();
// app.UseCors();
// defined cors option
// app.UseCors("AllowAll");
app.UseCors("AllowAll");

// comented to avoid redirect to https in not secure servers.
// app.UseHttpsRedirection();
Expand Down

0 comments on commit 5cc818d

Please sign in to comment.