fix(chat): handle inactive botid gracefully (#1437)
This commit is contained in:
parent
ad47aa0ee0
commit
314f8ced57
6 changed files with 30 additions and 9 deletions
|
|
@ -3,7 +3,7 @@ import { initBotId } from "botid/client/core";
|
|||
initBotId({
|
||||
protect: [
|
||||
{
|
||||
path: "/api/chat",
|
||||
path: `${process.env.NEXT_PUBLIC_BASE_PATH ?? ""}/api/chat`,
|
||||
method: "POST",
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue