This commit is contained in:
toom1996
2025-08-04 11:04:37 +08:00
parent f3092954c9
commit e2fa2c4378
90 changed files with 13749 additions and 8 deletions

5
utils/host.ts Normal file
View File

@ -0,0 +1,5 @@
export async function getHost(request: Request) {
// 获取请求头中的 Host
const host = request.headers.get('host');
return host;
}