diff --git a/app/routes.js b/app/routes.js index 1ba8d412..175ac0c2 100644 --- a/app/routes.js +++ b/app/routes.js @@ -13,7 +13,10 @@ module.exports = function(app = choo({ hash: true })) { app.route('/oauth', function(state, emit) { emit('authenticate', state.query.code, state.query.state); }); - app.route('/login', body(require('./ui/home'))); + app.route('/login', function(state, emit) { + emit('replaceState', '/'); + setTimeout(() => emit('render')); + }); app.route('*', body(require('./ui/notFound'))); return app; }; diff --git a/app/ui/archiveTile.js b/app/ui/archiveTile.js index f643553d..50c1e5bc 100644 --- a/app/ui/archiveTile.js +++ b/app/ui/archiveTile.js @@ -30,6 +30,12 @@ function password(state) { return html`