mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
404
This commit is contained in:
@@ -6,27 +6,22 @@
|
||||
* @FilePath: /fe-manage/vue.config.js
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
const {defineConfig} = require("@vue/cli-service");
|
||||
|
||||
const { defineConfig } = require("@vue/cli-service");
|
||||
module.exports = defineConfig({
|
||||
publicPath: "/manage",
|
||||
// transpileDependencies: true,
|
||||
// devServer: {
|
||||
// port: 8080,
|
||||
// proxy: {
|
||||
// "/manageApi": {
|
||||
// target: "http://localhost:30001/",
|
||||
// changeOrigin: true, //表示是否改变原域名
|
||||
// // secure: false,
|
||||
// // ws: false, //表示WebSocket协议
|
||||
// pathRewrite: {
|
||||
// "^/manageApi": "",
|
||||
// },
|
||||
// },
|
||||
// "/userbasic": {
|
||||
// target: "https://u-pre.boe.com",
|
||||
// changeOrigin: true,
|
||||
// },
|
||||
// },
|
||||
// },
|
||||
publicPath: "/manage",
|
||||
// transpileDependencies: true,
|
||||
devServer: {
|
||||
port: 8080,
|
||||
proxy: {
|
||||
"/manageApi": {
|
||||
target:"http://111.231.196.214:30001/",
|
||||
changeOrigin: true, //表示是否改变原域名
|
||||
// secure: false,
|
||||
// ws: false, //表示WebSocket协议
|
||||
pathRewrite: {
|
||||
"^/manageApi": "",
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user