diff --git a/app/api/common.ts b/app/api/common.ts index 6f705874c..f7441f90a 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 = "api-key"; + authHeaderName = "Authorization"; } else { authValue = req.headers.get("Authorization") ?? ""; authHeaderName = "Authorization";