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

@ -1,5 +1,5 @@
import type { NextConfig } from "next";
import { withBotId } from "botid/next/config";
import type { NextConfig } from "next";
const basePath = "/demo";
@ -8,6 +8,7 @@ const nextConfig: NextConfig = {
assetPrefix: "/demo-assets",
env: {
NEXT_PUBLIC_BASE_PATH: basePath,
NEXTAUTH_URL: `http://localhost${basePath}/api/auth`,
},
cacheComponents: true,
images: {