Fix form show page - clean code

This commit is contained in:
Julien Nahum
2024-01-16 11:46:03 +01:00
parent b25bc8bca8
commit 49088e62bc
3 changed files with 9 additions and 15 deletions

5
client/lib/utils.js vendored
View File

@@ -77,10 +77,5 @@ 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
}