MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / extractSlugFromUrl

Function extractSlugFromUrl

packages/server/src/utils/domainValidation.ts:93–100  ·  view source on GitHub ↗

* Extracts the slug from the URL if it matches any of the allowed slugs * @param url - The request URL * @returns string | null - The matched slug or null if no match

(url: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

extractChatflowIdFunction · 0.85
isPublicChatflowRequestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected