mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
Merge branch 'pirate-patch-2' into master
See https://github.com/timvisee/send/pull/35
This commit is contained in:
@@ -9,6 +9,7 @@ module.exports = function(app = choo({ hash: true })) {
|
|||||||
app.route('/unsupported/:reason', body(require('./ui/unsupported')));
|
app.route('/unsupported/:reason', body(require('./ui/unsupported')));
|
||||||
app.route('/error', body(require('./ui/error')));
|
app.route('/error', body(require('./ui/error')));
|
||||||
app.route('/blank', body(require('./ui/blank')));
|
app.route('/blank', body(require('./ui/blank')));
|
||||||
|
app.route('/robots.txt', function() {return 'User-agent: * Disallow: /'});
|
||||||
app.route('/oauth', function(state, emit) {
|
app.route('/oauth', function(state, emit) {
|
||||||
emit('authenticate', state.query.code, state.query.state);
|
emit('authenticate', state.query.code, state.query.state);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user