Skip to content

Commit 421ae19

Browse files
committed
fix(vibetype): move allowed headers from postgraphile
1 parent f0e0877 commit 421ae19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/development/stack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ services:
363363
- traefik.http.middlewares.postgraphile_auth.forwardauth.forwardBody=true
364364
- traefik.http.middlewares.postgraphile_auth.forwardauth.preserveRequestMethod=true
365365
- traefik.http.middlewares.postgraphile_cors.headers.accessControlAllowCredentials=true
366-
- traefik.http.middlewares.postgraphile_cors.headers.accessControlAllowHeaders=authorization,baggage,content-type,sentry-trace,x-turnstile-key
366+
- traefik.http.middlewares.postgraphile_cors.headers.accessControlAllowHeaders=authorization
367367
- traefik.http.middlewares.postgraphile_cors.headers.accessControlAllowOriginList=https://${STACK_DOMAIN},https://localhost:3000,https://app.localhost:3000
368368
- traefik.http.routers.postgraphile.entryPoints=web
369369
- traefik.http.routers.postgraphile.middlewares=redirectscheme #DARGSTACK-REMOVE
@@ -593,7 +593,7 @@ services:
593593
deploy:
594594
labels:
595595
- traefik.enable=true
596-
- traefik.http.middlewares.vibetype_cors.headers.accessControlAllowHeaders=authorization,hook-name
596+
- traefik.http.middlewares.vibetype_cors.headers.accessControlAllowHeaders=authorization,content-type,hook-name,x-turnstile-key
597597
- traefik.http.middlewares.vibetype_cors.headers.accessControlAllowMethods=GET,POST,PUT,DELETE
598598
- traefik.http.middlewares.vibetype_cors.headers.accessControlAllowOriginList=https://localhost:3000,https://app.localhost:3000
599599
- traefik.http.middlewares.vibetype_redirectregex.redirectregex.regex=^https?:\/\/www\.${STACK_DOMAIN}\/(.*)

0 commit comments

Comments
 (0)