'ss'
This commit is contained in:
@@ -3,6 +3,7 @@ module.exports = {
|
||||
NODE_ENV: '"development"'
|
||||
},
|
||||
defineConstants: {
|
||||
'process.env.TARO_API_API': JSON.stringify("development")
|
||||
},
|
||||
mini: {},
|
||||
h5: {}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
const config = {
|
||||
projectName: "cityh5",
|
||||
|
||||
date: "2023-12-2",
|
||||
designWidth: 750,
|
||||
deviceRatio: {
|
||||
@@ -85,10 +86,10 @@ const config = {
|
||||
// host: 'nomad.hackrobot.cn', // 替换为您的域名
|
||||
// port: 10087, // 选择一个适当的端口号
|
||||
proxy: {
|
||||
'api': {
|
||||
'/api/': {
|
||||
target: JSON.parse('"http://localhost:8700"'), //本地调试端口
|
||||
pathRewrite: {
|
||||
'api/': '/'
|
||||
'^/api/': '/'
|
||||
},
|
||||
changeOrigin: true
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ module.exports = {
|
||||
NODE_ENV: '"production"'
|
||||
},
|
||||
defineConstants: {
|
||||
'process.env.TARO_API_API': JSON.stringify("production")
|
||||
},
|
||||
mini: {},
|
||||
h5: {
|
||||
|
||||
Reference in New Issue
Block a user