Skip to content

Commit 98dbe89

Browse files
fix: use existing IS_DEMO env var instead of DEMO
1 parent ce6b839 commit 98dbe89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

next.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { withBotId } from "botid/next/config";
22
import type { NextConfig } from "next";
33

4-
const basePath = process.env.DEMO ? "/demo" : "";
4+
const basePath = process.env.IS_DEMO === "1" ? "/demo" : "";
55

66
const nextConfig: NextConfig = {
77
...(basePath ? { basePath, assetPrefix: "/demo-assets" } : {}),

0 commit comments

Comments
 (0)