Fix http logger

This commit is contained in:
Alex Gleason 2023-12-31 12:47:00 -06:00
parent f62662b89f
commit 952b3f0d66
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 6 additions and 6 deletions

View File

@ -93,12 +93,12 @@ if (Conf.sentryDsn) {
const debug = Debug('ditto:http'); const debug = Debug('ditto:http');
app.use('/api', logger(debug)); app.use('/api/*', logger(debug));
app.use('/relay', logger(debug)); app.use('/relay/*', logger(debug));
app.use('/.well-known', logger(debug)); app.use('/.well-known/*', logger(debug));
app.use('/users', logger(debug)); app.use('/users/*', logger(debug));
app.use('/nodeinfo', logger(debug)); app.use('/nodeinfo/*', logger(debug));
app.use('/oauth', logger(debug)); app.use('/oauth/*', logger(debug));
app.get('/api/v1/streaming', streamingController); app.get('/api/v1/streaming', streamingController);
app.get('/api/v1/streaming/', streamingController); app.get('/api/v1/streaming/', streamingController);