fix: sveltekit csrf error

This commit is contained in:
2025-01-07 14:47:21 +01:00
parent 8292084341
commit 609716a296
3 changed files with 3 additions and 2 deletions

1
.env
View File

@@ -1 +0,0 @@
DAT

View File

@@ -25,6 +25,8 @@ services:
sveltekit:
build: ./packages/web
restart: unless-stopped
environment:
- ORIGIN=http://localhost
labels:
- "traefik.enable=true"
- "traefik.http.routers.personal-website.rule=Host(`stanrunge.dev`)"

View File

@@ -19,4 +19,4 @@ COPY --from=build /app/build ./build
COPY --from=build /app/package.json ./package.json
COPY --from=build /app/node_modules ./node_modules
RUN ulimit -c unlimited
ENTRYPOINT ["node", "build"]
ENTRYPOINT ["node", "build"]