From 2be1ccf1d5283f513d70eef4377e830c6dca0f25 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Tue, 24 Jun 2025 19:12:16 +0800 Subject: [PATCH] update --- src/middleware/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/middleware/index.ts b/src/middleware/index.ts index d4bc306..eb3a4ee 100644 --- a/src/middleware/index.ts +++ b/src/middleware/index.ts @@ -7,6 +7,7 @@ export async function onRequest (context: any, next: any) { // 可选地修改 `locals` 中的属性 const host = await getHost(context.request); + console.log(host) if (host == 'www.zhishihuisheng.com' || host == 'zhishihuisheng.com') { return next(); }