Skip to content

Commit

Permalink
πŸš‘ Added test endpoint to cors policy for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Dec 27, 2024
1 parent ccd21b1 commit 260bf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
# CORS middleware for staging
- "traefik.http.routers.to-staging.middlewares=to-staging-cors"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=*"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=http://localhost:3000,http://localhost,https://staging.api.streameth.org"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolalloworiginlist=http://localhost:3000,http://localhost,https://staging.api.streameth.org,https://streameth-test.vercel.app"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolallowheaders=*"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolallowmethods=GET,OPTIONS,PUT,POST,DELETE,PATCH"
- "traefik.http.middlewares.to-staging-cors.headers.accesscontrolmaxage=100"
Expand Down

0 comments on commit 260bf22

Please sign in to comment.