From 2f963bc27c7cfe39a1baa5200ab1414251ed5fe7 Mon Sep 17 00:00:00 2001 From: Jonathan Cremin Date: Sat, 13 May 2017 14:07:59 +0100 Subject: [PATCH] Force no-cache on homepage --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 23c53bf..dc1ed44 100644 --- a/app.js +++ b/app.js @@ -35,9 +35,9 @@ app.use(serve('public', { maxage: 31536000000 })); const manifest = JSON.parse(fs.readFileSync(path.join(__dirname, '/public/dist/manifest.json'))); -app.use(function *(next) { - this.state = { manifest }; - yield next; +app.use(function * (next) { + this.state = { manifest }; + yield next; }); app.use(views(path.resolve(__dirname, './views'), {