增加信息
This commit is contained in:
@@ -55,15 +55,7 @@ export default defineConfig({
|
||||
* @doc 代理介绍 https://umijs.org/docs/guides/proxy
|
||||
* @doc 代理配置 https://umijs.org/docs/api/config#proxy
|
||||
*/
|
||||
proxy: proxy['pro'],
|
||||
define: {
|
||||
"process.env": {
|
||||
API_URL: "https://shopapi.jitucdz.com",
|
||||
WS_URL: "ws://shopapi.jitucdz.com",
|
||||
STATIC_URL: "https://shopapi.jitucdz.com",
|
||||
WEMAP_KEY: "ZFDBZ-YUTWB-353UZ-NYKEY-JTVIZ-Q3F6X",
|
||||
},
|
||||
},
|
||||
proxy: proxy[REACT_APP_ENV],
|
||||
/**
|
||||
* @name 快速热更新配置
|
||||
* @description 一个不错的热更新组件,更新时可以保留 state
|
||||
|
||||
Reference in New Issue
Block a user