mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-18 14:04:23 +01:00
debug: hono logger
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user