debug: hono logger

This commit is contained in:
Alex Gleason 2023-12-27 20:57:20 -06:00
parent 7b9baef165
commit baf51230ba
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import { type User } from '@/db/users.ts';
import {
type Context,
cors,
Debug,
type Event,
type Handler,
Hono,
@ -90,7 +91,7 @@ if (Conf.sentryDsn) {
app.use('*', sentryMiddleware({ dsn: Conf.sentryDsn }));
}
app.use('*', logger());
app.use('*', logger(Debug('ditto:http')));
app.get('/api/v1/streaming', streamingController);
app.get('/api/v1/streaming/', streamingController);