Commit d3401b54 authored by 小费同学阿's avatar 小费同学阿 💬

进度信息模块封装ui代码优化

parent 0a4c447b
...@@ -69,8 +69,8 @@ module.exports = { ...@@ -69,8 +69,8 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
// target: `http://localhost:8091`, target: `http://localhost:8091`,
target: `http://114.67.241.140:8091`, // target: `http://114.67.241.140:8091`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: '' ['^' + process.env.VUE_APP_BASE_API]: ''
...@@ -165,7 +165,7 @@ module.exports = { ...@@ -165,7 +165,7 @@ module.exports = {
} }
} }
}) })
config.optimization.runtimeChunk('single') config.optimization.runtimeChunk('single'),
{ {
from: path.resolve(__dirname, './public/robots.txt'), // 防爬虫文件 from: path.resolve(__dirname, './public/robots.txt'), // 防爬虫文件
to: './' // 到根目录下 to: './' // 到根目录下
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment