Fix AppSumo licence owner user invites (#492)

This commit is contained in:
Julien Nahum
2024-07-17 12:13:03 +02:00
committed by GitHub
parent 2a23c0a4f5
commit 01312f01e9
4 changed files with 5 additions and 16 deletions

8
client/lib/utils.js vendored
View File

@@ -107,13 +107,5 @@ 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
}