diff --git a/src/app.ts b/src/app.ts index b8a9695..c3212f8 100644 --- a/src/app.ts +++ b/src/app.ts @@ -93,12 +93,12 @@ if (Conf.sentryDsn) { const debug = Debug('ditto:http'); -app.use('/api', logger(debug)); -app.use('/relay', logger(debug)); -app.use('/.well-known', logger(debug)); -app.use('/users', logger(debug)); -app.use('/nodeinfo', logger(debug)); -app.use('/oauth', logger(debug)); +app.use('/api/*', logger(debug)); +app.use('/relay/*', logger(debug)); +app.use('/.well-known/*', logger(debug)); +app.use('/users/*', logger(debug)); +app.use('/nodeinfo/*', logger(debug)); +app.use('/oauth/*', logger(debug)); app.get('/api/v1/streaming', streamingController); app.get('/api/v1/streaming/', streamingController);