Completely Disable custom domain check when not enabled

This commit is contained in:
Julien Nahum
2024-02-05 14:02:20 +01:00
parent 4ae0e7fa68
commit d1dc4fda56
2 changed files with 2 additions and 1 deletions

1
client/lib/utils.js vendored
View File

@@ -90,6 +90,7 @@ export const getDomain = function (url) {
*/
export const customDomainUsed = function() {
const config = useRuntimeConfig()
if (!config.public.customDomainsEnabled) return false
const appDomain = getDomain(config.public.appUrl)
const host = getHost()