Skip to content

Commit

Permalink
fix:correct spelling mistake (#4350)
Browse files Browse the repository at this point in the history
Signed-off-by: ROOMrepair <[email protected]>
  • Loading branch information
ROOMrepair authored Dec 5, 2024
1 parent 3eeabe8 commit 1254513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
},
Expand Down

0 comments on commit 1254513

Please sign in to comment.