MCPcopy
hub / github.com/FlowiseAI/Flowise / getAllowCredentials

Function getAllowCredentials

packages/server/src/utils/XSS.ts:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export function getAllowCredentials(): boolean {
30 return process.env.CORS_ALLOW_CREDENTIALS === 'true'
31}
32
33export function getAllowedAuthCorsOrigins(): string[] {
34 const appUrl = process.env.APP_URL?.trim()

Callers 2

validateCorsConfigFunction · 0.85
getCorsOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected