Skip to content

Commit

Permalink
[release-4.1] fix:correct spelling mistake (#4351)
Browse files Browse the repository at this point in the history
fix:correct spelling mistake

Signed-off-by: ROOMrepair <[email protected]>
Co-authored-by: ROOMrepair <[email protected]>
  • Loading branch information
ks-ci-bot and ROOMrepair authored Dec 5, 2024
1 parent 2a5ada6 commit c72e4d3
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 c72e4d3

Please sign in to comment.