More custom domain front-end debug
This commit is contained in:
3
client/middleware/custom-domain.global.js
vendored
3
client/middleware/custom-domain.global.js
vendored
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user