From 247ef187f8fac1109ee1b00459b8945973a964c3 Mon Sep 17 00:00:00 2001 From: Richard C Lim <61879224+richardclim@users.noreply.github.com> Date: Mon, 3 Feb 2025 21:18:05 -0500 Subject: [PATCH] Update common.ts --- app/api/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";