From d0ddf018c790800db40eff4ebb1c6558ed206c09 Mon Sep 17 00:00:00 2001 From: Ilango Date: Wed, 28 Feb 2024 18:45:34 +0530 Subject: [PATCH] Update access denied error message --- packages/server/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/index.ts b/packages/server/src/index.ts index 0e1410ab..d18111e3 100644 --- a/packages/server/src/index.ts +++ b/packages/server/src/index.ts @@ -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`) } } )