From 11c23995ade7387468203595c653d70bc076e59b Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Wed, 28 Aug 2024 21:40:49 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/middleware.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/admin/middleware.ts b/apps/admin/middleware.ts index 95cf9f5f..5c3ac64c 100644 --- a/apps/admin/middleware.ts +++ b/apps/admin/middleware.ts @@ -20,8 +20,8 @@ const middleware = async (req: NextRequest) => { if (studyRole === "STUDENT" && manageRole === "NONE") { const url = process.env.NEXT_PUBLIC_VERCEL_ENV === "production" - ? process.env.CLIENT_PROD_URL - : process.env.CLIENT_DEV_URL; + ? process.env.NEXT_PUBLIC_CLIENT_PROD_URL + : process.env.NEXT_PUBLIC_CLIENT_DEV_URL; return NextResponse.redirect(new URL("/auth", url)); }