Skip to content

Commit

Permalink
Rollback fastify-cookie package
Browse files Browse the repository at this point in the history
It wasn't setting the cookie for new sessions (when a user logs in) with the latest version.
Worked on localhost, but not in prod so rolling back.
The whole cookie/session/redis-store system in filing-deadlines needs some attention.
Also updated redis package.
  • Loading branch information
mrbrianevans committed May 25, 2024
1 parent 6e3bec8 commit a838067
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'client/**'
- 'fs-shared/**'
- 'Frontend.Dockerfile'
- 'caddy/Caddyfile'
- 'caddy/*'

jobs:
docker:
Expand Down
1 change: 1 addition & 0 deletions caddy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ FROM caddy:2.8
ADD Caddyfile /etc/caddy/Caddyfile

EXPOSE 80
EXPOSE 443
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
depends_on:
- server # server must be running already to allow health check to pass
redis:
image: redis/redis-stack-server
image: redis/redis-stack-server:7.2.0-v10
volumes:
- redisdata:/data
logging:
Expand Down
18 changes: 16 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"start": "node index.js"
},
"dependencies": {
"@fastify/cookie": "^9.3.1",
"@fastify/cookie": "^8.3.0",
"@fastify/multipart": "^8.2.0",
"@fastify/oauth2": "^7.8.1",
"@fastify/redis": "^6.2.0",
Expand Down

0 comments on commit a838067

Please sign in to comment.