updated deps

This commit is contained in:
Danny Coates 2019-08-26 08:58:34 -07:00
parent 883728570e
commit ff9be6a213
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
4 changed files with 376 additions and 194 deletions

View file

@ -62,7 +62,7 @@ if (process.env.NODE_ENV === 'production') {
fileInfo: null
};
const app = routes(choo());
const app = routes(choo({ hash: true }));
// eslint-disable-next-line require-atomic-updates
window.app = app;
app.use(experiments);

View file

@ -2,7 +2,7 @@ const choo = require('choo');
const download = require('./ui/download');
const body = require('./ui/body');
module.exports = function(app = choo()) {
module.exports = function(app = choo({ hash: true })) {
app.route('/', body(require('./ui/home')));
app.route('/download/:id', body(download));
app.route('/download/:id/:key', body(download));