Skip to content
Discussion options

You must be logged in to vote

sorry 😭 i resolved!

add proxy: true

{
  saveUninitialized: true,
  secret: 'keyboard cat',
  resave: false,
  store: new RedisStore({
    client: redisClient,
  }),
  cookie: {
    maxAge: 1000 * 60 * 60 * 24 * 365,
    httpOnly: true,
    sameSite: true,
    secure: process.env.NODE_ENV === 'production',
  },
  proxy: true,  // ← add!
}

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@popuguytheparrot
Comment options

@eretica
Comment options

@popuguytheparrot
Comment options

@eretica
Comment options

@popuguytheparrot
Comment options

Answer selected by eretica
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants