mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
debug: hono logger
This commit is contained in:
parent
7b9baef165
commit
baf51230ba
1 changed files with 2 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ import { type User } from '@/db/users.ts';
|
||||||
import {
|
import {
|
||||||
type Context,
|
type Context,
|
||||||
cors,
|
cors,
|
||||||
|
Debug,
|
||||||
type Event,
|
type Event,
|
||||||
type Handler,
|
type Handler,
|
||||||
Hono,
|
Hono,
|
||||||
|
|
@ -90,7 +91,7 @@ if (Conf.sentryDsn) {
|
||||||
app.use('*', sentryMiddleware({ dsn: 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);
|
||||||
app.get('/api/v1/streaming/', streamingController);
|
app.get('/api/v1/streaming/', streamingController);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue