From 3b100238bcb27c418c2dceee92b73dc9c2ab55e3 Mon Sep 17 00:00:00 2001 From: Richard C Lim <61879224+richardclim@users.noreply.github.com> Date: Mon, 3 Feb 2025 21:21:43 -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 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";