temp
This commit is contained in:
@ -1,18 +1,25 @@
|
||||
const { defineConfig } = require("@vue/cli-service");
|
||||
const {defineConfig} = require("@vue/cli-service");
|
||||
module.exports = defineConfig({
|
||||
transpileDependencies: true,
|
||||
lintOnSave: false,
|
||||
devServer: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://81.68.90.198:8088",
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
"^/api": "", // 假设我们想把 localhost:8888/api/login 变成www.baidu.com/login 就需要这么做 js把路径中的/api去掉
|
||||
transpileDependencies: true,
|
||||
lintOnSave: false,
|
||||
devServer: {
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://81.68.90.198:8088",
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
"^/api": "", // 假设我们想把 localhost:8888/api/login 变成www.baidu.com/login 就需要这么做 js把路径中的/api去掉
|
||||
},
|
||||
},
|
||||
"/video": {
|
||||
target: "http://106.74.152.123:10000",
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
"^/video": "", // 假设我们想把 localhost:8888/api/login 变成www.baidu.com/login 就需要这么做 js把路径中的/api去掉
|
||||
},
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
// publicPath: "./",
|
||||
// assetsDir: "../apps/com.awspaas.user.apps.cmp/monitor",
|
||||
publicPath: "./",
|
||||
assetsDir: "../apps/com.awspaas.user.apps.cmp/monitor",
|
||||
});
|
||||
|
Reference in New Issue
Block a user