官网开发 0804
This commit is contained in:
+4
-2
@@ -6,10 +6,12 @@ export default defineNuxtConfig({
|
||||
|
||||
css: ['~/assets/css/main.css'],
|
||||
|
||||
// 运行时配置:NUXT_PUBLIC_API_BASE_URL 环境变量可覆盖
|
||||
// 运行时配置:NUXT_PUBLIC_API_BASE_URL / NUXT_PUBLIC_ASSET_BASE_URL 环境变量可覆盖
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
apiBaseUrl: 'http://localhost:8083/api'
|
||||
apiBaseUrl: 'http://localhost:8083/api',
|
||||
// 素材静态服务地址(用于解析 /uploads/... 相对路径),为空时默认取 apiBaseUrl 的 origin
|
||||
assetBaseUrl: ''
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user