Skip to content

Commit c1f1e82

Browse files
authored
Add new origin to CORS policy
1 parent 69c267f commit c1f1e82

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

MyApp/Configure.Cors.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ public void Configure(IWebHostBuilder builder) => builder
1212
policy.WithOrigins([
1313
"http://localhost:5000", "https://localhost:5001", "http://localhost:8080",
1414
"https://localhost:5173", "http://localhost:5173",
15-
"https://docs.servicestack.net","https://press-react.servicestack.net"
15+
"https://docs.servicestack.net","https://press-react.servicestack.net",
16+
"https://react.servicestack.net",
1617
])
1718
.AllowCredentials()
1819
.WithHeaders(["Content-Type", "Allow", "Authorization"])

0 commit comments

Comments
 (0)