From 8d94a4a0a987f586a9f7f8826ebb76c19387f207 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 26 三月 2021 17:19:40 +0800 Subject: [PATCH] 人员任务分配 --- vue.config.js | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/vue.config.js b/vue.config.js index c5d38e8..1de3ec5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -56,10 +56,16 @@ }) // config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', publicPath: '../' }) - + //config.module.rule('fonts').use('url-loader').loader('file-loader').options({ name: 'fonts/[name].[ext]', outputPath: '../' }) }, productionSourceMap: false, filenameHashing: false, + pwa: { + iconPaths: { + favicon32: 'favicon.ico', + favicon16: 'favicon.ico' + } + }, devServer: { proxy: { '/track': { @@ -71,6 +77,18 @@ target: 'http://192.168.20.10:7003', // ws: true, changeOrigin: true, + }, + // "/data/api-v/app/findAllApp": { + // // target: '/', + // target: 'http://localhost:8080/', + // changeOrigin: true, + // pathRewrite: { + // '^/data/api-v/app/findAllApp': 'apps.json' + // } + // }, + "/api-c": { + target: 'http://192.168.20.113:8004', + changeOrigin: true }, "/api-v": { target: 'http://192.168.20.10:8000', @@ -101,3 +119,4 @@ } } } +// http://111.205.161.131:40143/ \ No newline at end of file -- Gitblit v1.8.0