deny search engines to limit discoverability of public instances

This commit is contained in:
Nick Sweeting 2021-05-18 22:49:16 -04:00 committed by GitHub
parent bcfb9c5d09
commit 1fe74f2be0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});