Skip to content

Commit

Permalink
Server: samesite cookie fix (#168)
Browse files Browse the repository at this point in the history
* cookie fix

* removed redundant secure

* added missing proxy parameter
  • Loading branch information
promaty authored May 22, 2020
1 parent b1bc559 commit fc7e1e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dotenv.config()

// Set up express layers
const app = express()
app.set('trust proxy', 1) // required for secure sessions
app.use(createMiddleware({ app }))
app.use(helmet())
app.use(morgan('dev'))
Expand Down

0 comments on commit fc7e1e5

Please sign in to comment.