More custom domain front-end debug
This commit is contained in:
parent
1a6b5dd5d7
commit
11479be302
|
@ -42,7 +42,8 @@ export default defineNuxtRouteMiddleware((to, from) => {
|
||||||
// Custom domain only allowed for form url
|
// Custom domain only allowed for form url
|
||||||
return redirectToMainDomain({
|
return redirectToMainDomain({
|
||||||
reason: 'route_not_allowed',
|
reason: 'route_not_allowed',
|
||||||
route: to.name,
|
route: to,
|
||||||
|
from: from,
|
||||||
customDomainAllowedRoutes: customDomainAllowedRoutes
|
customDomainAllowedRoutes: customDomainAllowedRoutes
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue