Skip to content

Commit

Permalink
Update allowed CORS domains.
Browse files Browse the repository at this point in the history
  • Loading branch information
Layoric committed Feb 20, 2024
1 parent a147d18 commit 587e08b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MyApp/Configure.Cors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public void Configure(IWebHostBuilder builder) => builder
options.AddDefaultPolicy(policy => {
policy.WithOrigins([
"http://localhost:5000", "https://localhost:5001", "http://localhost:8080",
"https://localhost:5173", "http://localhost:5173",
"https://localhost:5173", "http://localhost:5173","https://docs.servicestack.net"
])
.AllowCredentials()
.WithHeaders(["Content-Type", "Allow", "Authorization"])
Expand Down

0 comments on commit 587e08b

Please sign in to comment.