Debugging custom domain

This commit is contained in:
Julien Nahum
2024-01-15 16:49:24 +01:00
parent 47c779fd9a
commit c35c505114
2 changed files with 9 additions and 0 deletions

5
client/lib/utils.js vendored
View File

@@ -77,5 +77,10 @@ export const customDomainUsed = function() {
const appDomain = getDomain(config.public.appUrl)
const host = getHost()
console.debug('customDomainUsed', {
'appDomain': appDomain,
'host': host,
'customDomain': host !== appDomain && getDomain(host) !== appDomain
})
return host !== appDomain && getDomain(host) !== appDomain
}