重构 server/app.tsx - 仅保留应用初始化和服务启动逻辑
This commit is contained in:
@@ -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 }>()
|
||||
|
||||
Reference in New Issue
Block a user