Fix debug
This commit is contained in:
parent
fbc0457294
commit
59c8a85824
|
|
@ -13,6 +13,7 @@ const customDomainHeaderName = "user-custom-domain"
|
||||||
const customDomainAllowedRoutes = ["forms-slug"]
|
const customDomainAllowedRoutes = ["forms-slug"]
|
||||||
|
|
||||||
function redirectToMainDomain(details = {}) {
|
function redirectToMainDomain(details = {}) {
|
||||||
|
const config = useRuntimeConfig()
|
||||||
const appDomain = getDomain(config.public.appUrl)
|
const appDomain = getDomain(config.public.appUrl)
|
||||||
const host = getHost()
|
const host = getHost()
|
||||||
console.warn("Redirecting to main domain", {
|
console.warn("Redirecting to main domain", {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue