diff --git a/app/routes.js b/app/routes.js index 440f9299..6a259710 100644 --- a/app/routes.js +++ b/app/routes.js @@ -9,7 +9,6 @@ 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); }); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 00000000..1f53798b --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /