match status

This commit is contained in:
yohlo
2025-09-11 14:04:05 -05:00
parent 22be6682dd
commit 8dfff139e1
8 changed files with 89 additions and 20 deletions

View File

@@ -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 = '/'