Fix debug
This commit is contained in:
1
client/middleware/custom-domain.global.js
vendored
1
client/middleware/custom-domain.global.js
vendored
@@ -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", {
|
||||||
|
|||||||
Reference in New Issue
Block a user