Completely Disable custom domain check when not enabled
This commit is contained in:
1
client/lib/utils.js
vendored
1
client/lib/utils.js
vendored
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user