mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
_PLACEHOLDER_URL_RE matched "localhost" as a substring anywhere in the URL, so a real tunnel host like abc123.localhost.run was wrongly flagged; the check now parses the URL and only matches when the host itself is localhost or ends with .localhost. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>