fix(urlValidation): remove specific check for Dify cloud trigger debug URLs

This commit is contained in:
zhsama 2025-11-04 18:34:41 +08:00
parent ce56286329
commit 9f59baed10
1 changed files with 0 additions and 4 deletions

View File

@ -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