Skip to content

Commit

Permalink
feat: 重定向地址修改
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 9158
  • Loading branch information
hyunfa committed Jun 3, 2024
1 parent b1eb9cd commit fa7b829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/common/navigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export default class NodemanNavigation extends Mixins(routerBackMixin) {
if (!/http(s)?:\/\//.test(loginUrl)) {
loginUrl = `${window.location.protocol}//${loginUrl}`;
}
window.location.href = `${loginUrl}?is_from_logout=1&c_url=${window.location.href}`
window.location.href = `${loginUrl}?is_from_logout=1&c_url=${encodeURIComponent(window.location.href)}`
}
}
}
Expand Down

0 comments on commit fa7b829

Please sign in to comment.