From 66762d023d69855c1185d84f317fb20b82acecde Mon Sep 17 00:00:00 2001 From: dancer <144584931+dancer@users.noreply.github.com> Date: Sat, 14 Mar 2026 00:05:30 +0000 Subject: [PATCH] Revert "conditional basepath with IS_DEMO env" This reverts commit 15f626b40118edaebdc0f2be2c7b59c1e4c72d01. --- next.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/next.config.ts b/next.config.ts index 03483ab..1f85e53 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,11 +1,11 @@ import { withBotId } from "botid/next/config"; import type { NextConfig } from "next"; -const isDemo = process.env.IS_DEMO === "1"; -const basePath = isDemo ? "/demo" : ""; +const basePath = "/demo"; const nextConfig: NextConfig = { - ...(isDemo && { basePath, assetPrefix: "/demo-assets" }), + basePath, + assetPrefix: "/demo-assets", env: { NEXT_PUBLIC_BASE_PATH: basePath, },