mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-28 18:54:27 +01:00
Fix http logger
This commit is contained in:
12
src/app.ts
12
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);
|
||||
|
||||
Reference in New Issue
Block a user