fix(chat): handle inactive botid gracefully (#1437)

This commit is contained in:
dancer 2026-03-02 15:06:22 +00:00 committed by GitHub
parent ad47aa0ee0
commit 314f8ced57
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 30 additions and 9 deletions

View file

@ -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",
},
],