|
|
|
@ -7,7 +7,7 @@ function resolve(dir) {
|
|
|
|
|
|
|
|
|
|
const CompressionPlugin = require("compression-webpack-plugin");
|
|
|
|
|
|
|
|
|
|
const name = process.env.VUE_APP_TITLE || "UDI协调平台"; //网页标题
|
|
|
|
|
const name = process.env.VUE_APP_TITLE || "UDI管理系统"; // 网页标题
|
|
|
|
|
|
|
|
|
|
const port = process.env.port || process.env.npm_config_port || 80; // 端口
|
|
|
|
|
|
|
|
|
@ -35,7 +35,7 @@ module.exports = {
|
|
|
|
|
proxy: {
|
|
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
|
|
target: `http://api.clborch.com:8190`,
|
|
|
|
|
target: process.env.VUE_APP_BASE_API,
|
|
|
|
|
changeOrigin: true,
|
|
|
|
|
pathRewrite: {
|
|
|
|
|
["^" + process.env.VUE_APP_BASE_API]: "",
|
|
|
|
|