From 125451318691bf701c932cd497614b7ba9819223 Mon Sep 17 00:00:00 2001 From: Roomrepair <87300303+ROOMrepair@users.noreply.github.com> Date: Thu, 5 Dec 2024 15:34:45 +0800 Subject: [PATCH] fix:correct spelling mistake (#4350) Signed-off-by: ROOMrepair --- server/proxy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proxy.js b/server/proxy.js index e5be7088eca..702916cee06 100644 --- a/server/proxy.js +++ b/server/proxy.js @@ -142,7 +142,7 @@ const oauthProxy = { changeOrigin: true, optionsHandle(options, req, ctx) { // if not login, redirect to login page - if (!ct.cookies.get('token')) { + if (!ctx.cookies.get('token')) { ctx.cookies.set('authAuthorizeUrl', req.url); } },