修复小细节

This commit is contained in:
sijinhui
2023-12-28 13:22:09 +08:00
parent 1e7d20580d
commit b0e56e17c7
4 changed files with 23 additions and 15 deletions

View File

@@ -77,7 +77,8 @@ async function handle(
try {
const protocol = req.headers.get("x-forwarded-proto") || "http";
const baseUrl = process.env.NEXTAUTH_URL ?? "http://localhost:3000";
//const baseUrl = process.env.NEXTAUTH_URL ?? "http://localhost:3000";
const baseUrl = "http://localhost:3000";
const ip = getIP(req);
// 对其进行 Base64 解码
let h_userName = req.headers.get("x-request-name");