mirror of https://github.com/langgenius/dify.git
fix(urlValidation): remove specific check for Dify cloud trigger debug URLs
This commit is contained in:
parent
ce56286329
commit
9f59baed10
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue