update
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user