diff --git a/public/robots.txt b/public/robots.txt deleted file mode 100644 index 72abb7a8..00000000 --- a/public/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: /download/ diff --git a/server/layout.js b/server/layout.js index c11a7be9..7da25205 100644 --- a/server/layout.js +++ b/server/layout.js @@ -9,6 +9,11 @@ module.exports = function(state, body = '') { ${state.title} + + diff --git a/server/state.js b/server/state.js index 59348512..a0bc21e0 100644 --- a/server/state.js +++ b/server/state.js @@ -33,6 +33,7 @@ module.exports = async function(req) { fileInfo: {}, cspNonce: req.cspNonce, user: { avatar: assets.get('user.svg'), loggedIn: false }, + route: req.route.path, authConfig, layout };