updated deps
This commit is contained in:
parent
883728570e
commit
ff9be6a213
4 changed files with 376 additions and 194 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue