diff --git a/app/api/common.ts b/app/api/common.ts index f7441f90a..6f705874c 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -19,7 +19,7 @@ const isAzure = req.nextUrl.pathname.includes("azure/deployments") || Boolean(se ?.trim() .replaceAll("Bearer ", "") .trim() ?? ""}`; - authHeaderName = "Authorization"; + authHeaderName = "api-key"; } else { authValue = req.headers.get("Authorization") ?? ""; authHeaderName = "Authorization";