重构 server/app.tsx - 仅保留应用初始化和服务启动逻辑

This commit is contained in:
yourname
2025-05-14 02:04:48 +00:00
parent 6438eea9be
commit f4d692472e
16 changed files with 185 additions and 266 deletions

View File

@@ -1,6 +1,5 @@
import { Hono } from 'hono'
import type { Variables } from './app.tsx'
import type { WithAuth } from './app.tsx'
import type { Variables, WithAuth } from "./middlewares.ts";
export function createUserRoutes(withAuth: WithAuth) {
const usersRoutes = new Hono<{ Variables: Variables }>()