Merge branch 'patch-2' of https://github.com/pirate/send into pirate-patch-2

This commit is contained in:
timvisee 2021-05-19 10:18:26 +02:00
commit 9152d22913
No known key found for this signature in database
GPG Key ID: B8DB720BC383E172
1 changed files with 1 additions and 0 deletions

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