From 1fe74f2be060565688962624f0c16ac35578287c Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 18 May 2021 22:49:16 -0400 Subject: [PATCH] deny search engines to limit discoverability of public instances --- app/routes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/routes.js b/app/routes.js index 6a259710..440f9299 100644 --- a/app/routes.js +++ b/app/routes.js @@ -9,6 +9,7 @@ module.exports = function(app = choo({ hash: true })) { app.route('/unsupported/:reason', body(require('./ui/unsupported'))); app.route('/error', body(require('./ui/error'))); app.route('/blank', body(require('./ui/blank'))); + app.route('/robots.txt', function() {return 'User-agent: * Disallow: /'}); app.route('/oauth', function(state, emit) { emit('authenticate', state.query.code, state.query.state); });