♻️ refactor: remove base path (#9015)

* clean

* remove

* fix

* move config to envs

* remove envs
This commit is contained in:
Arvin Xu
2025-09-01 00:30:13 +08:00
committed by GitHub
parent 82f5abf83b
commit 2a5f8d712f
34 changed files with 29 additions and 74 deletions
-2
View File
@@ -13,7 +13,6 @@ const shouldUseCSP = process.env.ENABLED_CSP === '1';
// if you need to proxy the api endpoint to remote server
const basePath = process.env.NEXT_PUBLIC_BASE_PATH;
const isStandaloneMode = buildWithDocker || isDesktop;
const standaloneConfig: NextConfig = {
@@ -23,7 +22,6 @@ const standaloneConfig: NextConfig = {
const nextConfig: NextConfig = {
...(isStandaloneMode ? standaloneConfig : {}),
basePath,
compress: isProd,
experimental: {
optimizePackageImports: [