This commit is contained in:
hackrobot
2024-04-10 21:23:42 +08:00
parent 636ccda1fb
commit be018507c7
2 changed files with 106 additions and 30 deletions

View File

@@ -45,8 +45,7 @@ const config = {
esnextModules: ["taro-ui"],
publicPath: "/",
staticDirectory: "static",
postcss: {
autoprefixer: {
postcss: { autoprefixer: {
enable: true,
config: {},
},
@@ -76,7 +75,7 @@ const config = {
devServer: {
proxy: {
'/api/': {
target: JSON.parse('"http://localhost:8055"'), //本地调试端口
target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口
pathRewrite: {
'^/api/': '/'
},