match status
This commit is contained in:
@@ -18,7 +18,7 @@ function RouteComponent() {
|
||||
const urlParams = new URLSearchParams(window.location.search)
|
||||
const redirect = urlParams.get('redirect')
|
||||
|
||||
if (redirect) {
|
||||
if (redirect && !redirect.startsWith('/_serverFn')) {
|
||||
window.location.href = decodeURIComponent(redirect)
|
||||
} else {
|
||||
window.location.href = '/'
|
||||
|
||||
Reference in New Issue
Block a user