mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 05:01:10 +03:00
Update access denied error message
This commit is contained in:
@@ -1339,7 +1339,7 @@ export class App {
|
|||||||
if (isDomainAllowed) {
|
if (isDomainAllowed) {
|
||||||
await this.buildChatflow(req, res, socketIO)
|
await this.buildChatflow(req, res, socketIO)
|
||||||
} else {
|
} else {
|
||||||
return res.status(401).send(`This domain is not allowed to access chatflow ${req.params.id}`)
|
return res.status(401).send(`This site is not allowed to access this chatbot`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user