Skip to content

Commit

Permalink
Fix session cookie not being set in HTTPS
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Evans <ebrian101@gmail.com>
  • Loading branch information
mrbrianevans committed Oct 18, 2024
1 parent 119e154 commit ab5dca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {serverLogTransport} from '../backend-shared/loggers.js'
import RedisStore from 'connect-redis'
const port = parseInt(process.env.PORT??'4004')

const fastify = Fastify({logger: {stream: serverLogTransport, level: 'trace'}})
const fastify = Fastify({logger: {stream: serverLogTransport, level: 'trace'}, trustProxy: true})

//register any third party plugins here
{
Expand Down

0 comments on commit ab5dca7

Please sign in to comment.