Revert "conditional basepath with IS_DEMO env"

This reverts commit 15f626b401.
This commit is contained in:
dancer 2026-03-14 00:05:30 +00:00
parent 15f626b401
commit 66762d023d

View file

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