Fix debug

This commit is contained in:
Julien Nahum 2024-07-15 13:18:38 +02:00
parent fbc0457294
commit 59c8a85824
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@ const customDomainHeaderName = "user-custom-domain"
const customDomainAllowedRoutes = ["forms-slug"]
function redirectToMainDomain(details = {}) {
const config = useRuntimeConfig()
const appDomain = getDomain(config.public.appUrl)
const host = getHost()
console.warn("Redirecting to main domain", {