Update access denied error message
This commit is contained in:
parent
d5b8dcd5b5
commit
d0ddf018c7
|
|
@ -1339,7 +1339,7 @@ export class App {
|
|||
if (isDomainAllowed) {
|
||||
await this.buildChatflow(req, res, socketIO)
|
||||
} 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`)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue