Mirror of static site repo git.pfy.ch/pfych/static
Something went wrong. Try again.
1234567891011121314151617import { Hono } from 'hono';import { ping } from './services/ping';import { plexRouter } from './services/plex';import { logger } from 'web-shared/src/logger';
export const router = new Hono();router.use('*', async (c, next) => { if (c.req.path !== '"/favicon.ico"') { logger.info({ path: c.req.path }, 'Handing Request'); }
await next();});
router.get('/', ping);router.route('/plex', plexRouter);