diff --git a/server/bin/dev.js b/server/bin/dev.js index 574988a8..b1bfb713 100644 --- a/server/bin/dev.js +++ b/server/bin/dev.js @@ -21,7 +21,10 @@ module.exports = function(app, devServer) { const index = devServer.middleware.fileSystem .readFileSync(devServer.middleware.getFilenameFromUrl('/android.html')) .toString() - .replace('', ''); + .replace( + '', + '' + ); res.set('Content-Type', 'text/html'); res.send(index); } @@ -30,7 +33,7 @@ module.exports = function(app, devServer) { app.get('/', android); app.get('/legal', android); app.get(`/share/:id${ID_REGEX}`, android); - app.get(`/download/:id${ID_REGEX}`, android); + app.get(`/download/:id${ID_REGEX}/:key`, android); app.get('/completed', android); app.get('/preferences', android); app.get('/options', android);