fea: 检查本地环境

This commit is contained in:
cancerai committed 2026-10-11 22:41:04 +08:00
1 parent b34def5f32
commit 3a81a927e4
3 files changed
+25

No files matched your search

+2
View File
@@ -4,7 +4,9 @@ import { validator } from "hono/validator";
import { checkAdmin } from "./utils/admin";
import { addUser, checkUser, getAllUser } from "./utils/user";
import { responseStr } from "./const/response_str";
import { checkEnv } from "./utils/env";
checkEnv()
const appTmp = new Hono()
const app = appTmp.basePath("/auth")
const db = new SQL({