1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00
This commit is contained in:
J. Nick Koston
2026-01-09 13:08:41 -10:00
parent 6640205150
commit b7f95f5fc0

View File

@@ -339,6 +339,7 @@ async def to_code(config):
cg.add_define("USE_WEBSERVER_GZIP")
# Extract domains from CDN URLs for DNS whitelisting (used by captive_portal)
# This handles both default URLs (using CDN_HOST) and custom user URLs
cdn_domains: set[str] = set()
for url_key in (CONF_CSS_URL, CONF_JS_URL):
url = config.get(url_key, "")