chore: Cleanup hostNamesConfig.js (#25543)
This commit is contained in:
parent
16cc089b19
commit
32e37d8cda
|
|
@ -41,12 +41,7 @@ function getDomainsConfig() {
|
|||
// eslint-disable-next-line camelcase
|
||||
initFeatureFlags(bootstrapData.common.feature_flags);
|
||||
|
||||
if (
|
||||
bootstrapData &&
|
||||
bootstrapData.common &&
|
||||
bootstrapData.common.conf &&
|
||||
bootstrapData.common.conf.SUPERSET_WEBSERVER_DOMAINS
|
||||
) {
|
||||
if (bootstrapData?.common?.conf?.SUPERSET_WEBSERVER_DOMAINS) {
|
||||
bootstrapData.common.conf.SUPERSET_WEBSERVER_DOMAINS.forEach(hostName => {
|
||||
availableDomains.add(hostName);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue