Skip to content
This repository has been archived by the owner on Sep 5, 2018. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marsoln committed Jun 12, 2018
1 parent 1376b5c commit 26137b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const CONFIG = {

app.use(bodyParser({ enableTypes: ['json', 'form', 'text'] }))
app.use(session(CONFIG, app))
app.use(serve(`${__dirname}/../../app/dist`))
app.use(serve(`${__dirname}/../../app/dist`, { maxage: 1000 * 60 * 60 * 24 }))
app.use(sessionValid)
app.use(router.routes(), router.allowedMethods())

Expand Down

0 comments on commit 26137b4

Please sign in to comment.