refactor: update productionBasePath to empty string and adjust static resource handling for dashboard

This commit is contained in:
mlogclub
2026-04-15 18:18:06 +08:00
parent 3209e40a98
commit 1ca7493f31
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import { PHASE_DEVELOPMENT_SERVER } from "next/constants"
const backendBaseUrl =
process.env.NEXT_PUBLIC_API_BASE_URL?.trim() || "http://127.0.0.1:8083"
const productionBasePath = "/dashboard"
const productionBasePath = ""
export default function nextConfig(phase: string): NextConfig {
const config: NextConfig = {
+1
View File
@@ -3,4 +3,5 @@ ignoredBuiltDependencies:
- unrs-resolver
onlyBuiltDependencies:
- '@parcel/watcher'
- msw