Files
RSSHub/lib/routes/index.tsx
T
2024-03-03 17:36:08 +08:00

11 lines
251 B
TypeScript

import type { Handler } from 'hono';
import Index from '@/views/index';
const handler: Handler = (ctx) => {
ctx.header('Cache-Control', 'no-cache');
return ctx.html(<Index debugQuery={ctx.req.query('debug')} />);
};
export default handler;