More custom domain front-end debug

This commit is contained in:
Julien Nahum 2024-01-17 17:11:56 +01:00
parent 1a6b5dd5d7
commit 11479be302
1 changed files with 2 additions and 1 deletions

View File

@ -42,7 +42,8 @@ export default defineNuxtRouteMiddleware((to, from) => {
// Custom domain only allowed for form url
return redirectToMainDomain({
reason: 'route_not_allowed',
route: to.name,
route: to,
from: from,
customDomainAllowedRoutes: customDomainAllowedRoutes
})
}