Force no-cache on homepage

This commit is contained in:
Jonathan Cremin 2017-05-13 14:07:59 +01:00
parent 6c9221a652
commit 2f963bc27c

6
app.js
View file

@ -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'), {