Debugging custom domain redirect opnform
More debugging on custom domain side Debugging custom domain redirect further Debugging custom domain redirect opnform More debugging on custom domain side Debugging custom domain redirect further
This commit is contained in:
8
client/lib/utils.js
vendored
8
client/lib/utils.js
vendored
@@ -107,5 +107,13 @@ export const customDomainUsed = function () {
|
||||
const appDomain = getDomain(config.public.appUrl)
|
||||
const host = getHost()
|
||||
|
||||
console.log('Checking if custom domain is used', {
|
||||
appDomain,
|
||||
host,
|
||||
getDomain: getDomain(host),
|
||||
used: host !== appDomain,
|
||||
hostDomainused: getDomain(host) !== appDomain
|
||||
})
|
||||
|
||||
return host !== appDomain && getDomain(host) !== appDomain
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user