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:
1
client/composables/useOpnApi.js
vendored
1
client/composables/useOpnApi.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user