Commit 1cb2a976 by 林永鑫

Revert "配置文件修改"

This reverts commit 1d509fb4.
parent ca9eca3a
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -9,7 +9,7 @@ const productionGzipExtensions = /\.(js|css|json|txt|html|ico|svg)(\?.*)?$/i;*/
module.exports = {
publicPath: process.env.NODE_ENV === "development" ? "/" : "./",
assetsDir: "static",
transpileDependencies: ['@jiaminghi/data-view'],
transpileDependencies:['@jiaminghi/data-view'],
configureWebpack: config => {
"#source-map";
if (process.env.NODE_ENV === "production") {
......@@ -34,12 +34,12 @@ module.exports = {
const oneOfsMap = config.module.rule("scss").oneOfs.store;
oneOfsMap.forEach(item => {
item
.use("sass-resources-loader")
.loader("sass-resources-loader")
.options({
resources: "./src/assets/styles/main.scss"
})
.end();
.use("sass-resources-loader")
.loader("sass-resources-loader")
.options({
resources: "./src/assets/styles/main.scss"
})
.end();
});
// if (process.env.NODE_ENV === 'production') {
// config.plugin('compressionPlugin')
......@@ -85,7 +85,7 @@ module.exports = {
}
},
"/apiAjzbGaw": {
target: "http://95.1.122.119:8001/", //公安网案件侦办地址西藏:(89.0.23.236:8001),内蒙:(http://26.13.5.1:8001/)
target: "http://26.13.5.1:8001/", //公安网案件侦办地址西藏:(89.0.23.236:8001),内蒙:(http://26.13.5.1:8001/)
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -93,7 +93,7 @@ module.exports = {
}
},
"/apiXzxtGaw": {
target: "http://95.1.122.119:8501/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
target: "http://26.13.5.1:8501/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -101,7 +101,7 @@ module.exports = {
}
},
"/apiDwcxGaw": {
target: "http://95.1.122.119:8888/", //统一的请求头部每次修改都要重启才会生效
target: "http://26.3.14.62:8888/", //统一的请求头部每次修改都要重启才会生效
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -109,7 +109,7 @@ module.exports = {
}
},
"/apiAjzbXzGaw": {
target: "http://95.1.122.119:8001/", //公安网案件侦办地址西藏:(89.0.23.236:8001),内蒙:(http://26.13.5.1:8001/)
target: "http://89.0.23.236:8001/", //公安网案件侦办地址西藏:(89.0.23.236:8001),内蒙:(http://26.13.5.1:8001/)
ws: true,
changeOrigin: true,
pathRewrite: {
......@@ -117,7 +117,7 @@ module.exports = {
}
},
"/apiXzxtXzGaw": {
target: "http://95.1.122.119:8501/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
target: "http://89.0.23.236:8501/", //公安网刑专二期地址西藏:(89.0.23.236:8501),内蒙:(http://26.13.5.1:8501/)
ws: true,
changeOrigin: true,
pathRewrite: {
......
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