mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
🔨 chore(config): add assetPrefix to nextConfig for environment variable support (#9427)
* ✨ feat(config): add assetPrefix to nextConfig for environment variable support * ✨ feat(docs): add NEXT_PUBLIC_ASSET_PREFIX environment variable for CDN support
This commit is contained in:
@@ -21,6 +21,7 @@ const standaloneConfig: NextConfig = {
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
...(isStandaloneMode ? standaloneConfig : {}),
|
||||
assetPrefix: process.env.NEXT_PUBLIC_ASSET_PREFIX,
|
||||
compiler: {
|
||||
emotion: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user