Skip to content

Commit 260bf22

Browse files
committed
🚑 Added test endpoint to cors policy for staging
1 parent ccd21b1 commit 260bf22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎docker-compose.router.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
# CORS middleware for staging
3232
- "traefik.http.routers.to-staging.middlewares=to-staging-cors"
3333
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=*"
34-
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=http://localhost:3000,http://localhost,https://staging.api.streameth.org"
34+
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=http://localhost:3000,http://localhost,https://staging.api.streameth.org,https://streameth-test.vercel.app"
3535
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolallowheaders=*"
3636
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolallowmethods=GET,OPTIONS,PUT,POST,DELETE,PATCH"
3737
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolmaxage=100"

0 commit comments

Comments
 (0)