mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
♻️ refactor: remove base path (#9015)
* clean * remove * fix * move config to envs * remove envs
This commit is contained in:
@@ -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: [
|
||||
|
||||
Reference in New Issue
Block a user