mirror of
https://github.com/apache/superset.git
synced 2026-04-24 02:25:13 +00:00
ESLint: Re-enable rule no-restricted-globals (#10863)
* Re-enable rule no-restricted-globals * Fix missing semicolons
This commit is contained in:
committed by
GitHub
parent
7f1012360a
commit
1908a94c7e
@@ -23,7 +23,7 @@ function getDomainsConfig() {
|
||||
}
|
||||
|
||||
const bootstrapData = JSON.parse(appContainer.getAttribute('data-bootstrap'));
|
||||
const availableDomains = new Set([location.hostname]);
|
||||
const availableDomains = new Set([window.location.hostname]);
|
||||
if (
|
||||
bootstrapData &&
|
||||
bootstrapData.common &&
|
||||
|
||||
Reference in New Issue
Block a user