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
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue