From 9f59baed1049891b679a1ea19dc7f02827d4cc21 Mon Sep 17 00:00:00 2001 From: zhsama Date: Tue, 4 Nov 2025 18:34:41 +0800 Subject: [PATCH] fix(urlValidation): remove specific check for Dify cloud trigger debug URLs --- web/utils/urlValidation.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/utils/urlValidation.ts b/web/utils/urlValidation.ts index 80b72e4e0a..db6de5275a 100644 --- a/web/utils/urlValidation.ts +++ b/web/utils/urlValidation.ts @@ -32,10 +32,6 @@ export function isPrivateOrLocalAddress(url: string): boolean { const urlObj = new URL(url) const hostname = urlObj.hostname.toLowerCase() - // Check for Dify cloud trigger debug URLs - if (hostname === 'cloud-trigger.dify.dev') - return true - // Check for localhost if (hostname === 'localhost' || hostname === '127.0.0.1' || hostname === '::1') return true