Beautiful Open-Source Form Builder
More custom domain front-end debug
Julien Nahum11479be30275
diff --git a/client/middleware/custom-domain.global.js b/client/middleware/custom-domain.global.jsindex 7a67842e6..376b29d2d 100644--- a/client/middleware/custom-domain.global.js+++ b/client/middleware/custom-domain.global.js@@ -42,7 +42,8 @@ export default defineNuxtRouteMiddleware((to, from) => {// Custom domain only allowed for form urlreturn redirectToMainDomain({reason: 'route_not_allowed',- route: to.name,+ route: to,+ from: from,customDomainAllowedRoutes: customDomainAllowedRoutes})}