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

Method disableForCloud

packages/server/src/IdentityManager.ts:292–300  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

290 }
291
292 public static disableForCloud(message: string) {
293 return (_req: Request, res: Response, next: NextFunction) => {
294 const identityManager = getRunningExpressApp().identityManager
295 if (identityManager.isCloud()) {
296 return res.status(403).json({ message })
297 }
298 return next()
299 }
300 }
301
302 public async createStripeCustomerPortalSession(req: Request) {
303 if (!this.stripeManager) {

Callers 1

Calls 1

getRunningExpressAppFunction · 0.90

Tested by

no test coverage detected