From d435de943589eb60a76ca0844efe2aa96cb68a3c Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期二, 12 十一月 2024 09:46:52 +0800 Subject: [PATCH] feat: 统计日报表 --- vue.config.js | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index 5921df5..6b16215 100644 --- a/vue.config.js +++ b/vue.config.js @@ -1,15 +1,26 @@ +var path = require("path") module.exports = { baseUrl: './', + configureWebpack: { + resolve: { + alias: { + '@': path.join(__dirname, 'src') + } + } + }, assetsDir: 'static', productionSourceMap: false, devServer: { + sockHost: 'localhost', + port: 8082, + disableHostCheck: true, proxy: { - '/api':{ - target:'http://183.196.93.178', - //target:'http://127.0.0.1', + '/':{ + //target:'http://183.196.93.178', + target:'http://127.0.0.1:8089', changeOrigin:true, pathRewrite:{ - '/api':'' + '/':'' } } } -- Gitblit v1.9.1