From 0703876b57b32a432a2485f42c01318c0d2b2c2b Mon Sep 17 00:00:00 2001 From: Richard C Lim <61879224+richardclim@users.noreply.github.com> Date: Sun, 2 Feb 2025 19:24:11 -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 da4a7787b..f276f64b5 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -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";