Fix base path and restore wasm engine

This commit is contained in:
codecolorist
2026-04-14 13:56:08 +00:00
parent 32c2b01062
commit 7690ba766e
4 changed files with 107 additions and 71 deletions
+4
View File
@@ -1,7 +1,11 @@
import type { NextConfig } from "next";
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || "";
const nextConfig: NextConfig = {
output: "export",
basePath,
assetPrefix: basePath || undefined,
};
export default nextConfig;