Skip to content

Commit 4d294b6

Browse files
mguptahubPlane AI
andauthored
fix: disable external whitelist URL and fix local domains filename for airgapped deployments (#1)
* custom domains * fix: disable external whitelist URL and fix local domains filename - Set WHITELIST_URL to empty string to prevent external calls to iframely.com — required for airgapped deployments - Rename whitelist/domains.json → whitelist/iframely-domains.json to match the iframely-*.json pattern required by findLastWhitelist(), ensuring the bundled local whitelist is loaded on startup Co-authored-by: Plane AI <noreply@plane.so> --------- Co-authored-by: Plane AI <noreply@plane.so>
1 parent 3ad4b66 commit 4d294b6

2 files changed

Lines changed: 22285 additions & 1 deletion

File tree

config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
WHITELIST_LOAD_ON_INIT: true, // Whitelist is always loaded by lib init. Otherwise use `initializeWhitelistLoader();`.
2424
WHITELIST_DIR: './whitelist', // Set `null` to disable loading from file.
25-
WHITELIST_URL: 'https://iframely.com/qa/domains.json',
25+
WHITELIST_URL: '', // 'https://iframely.com/qa/domains.json',
2626
WHITELIST_URL_RELOAD_PERIOD: 60 * 60 * 1000, // will reload WL every hour, if no local files are found in /whitelist folder
2727

2828
WHITELIST_WILDCARD: {},

0 commit comments

Comments
 (0)