Update common.ts

This commit is contained in:
Richard C Lim 2025-02-02 19:24:11 -05:00 committed by GitHub
parent 6b6fd6997d
commit 0703876b57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ const isAzure = req.nextUrl.pathname.includes("azure/deployments") || Boolean(se
.replaceAll("Bearer ", "")
.trim() ?? "";
authHeaderName = "api-key";
authHeaderName = "Authorization";
} else {
authValue = req.headers.get("Authorization") ?? "";
authHeaderName = "Authorization";