Debugging custom domain redirect opnform

More debugging on custom domain side

Debugging custom domain redirect further

Debugging custom domain redirect opnform

More debugging on custom domain side

Debugging custom domain redirect further
This commit is contained in:
Julien Nahum
2024-07-15 10:20:55 +02:00
parent 08171adc56
commit fbc0457294
3 changed files with 21 additions and 4 deletions

View File

@@ -67,6 +67,7 @@ export function getOpnRequestsOptions(request, opts) {
}
} else if (status === 420) {
// If invalid domain, redirect to main domain
console.warn("Invalid response from back-end - redirecting to main domain")
window.location.href =
config.public.appUrl + "?utm_source=failed_custom_domain_redirect"
} else if (status >= 500) {