From c55d9376565a78ce31a5b8d78dad89df16c2628e Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期四, 18 一月 2024 23:34:54 +0800 Subject: [PATCH] 删除完 更新 --- config/index.js | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/config/index.js b/config/index.js index 6c839af..d39dff9 100644 --- a/config/index.js +++ b/config/index.js @@ -1,7 +1,7 @@ /* * @Date: 2023-12-20 20:21:29 * @LastEditors: Sneed - * @LastEditTime: 2024-01-05 23:44:25 + * @LastEditTime: 2024-01-18 22:47:36 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/config/index.js */ 'use strict' @@ -18,14 +18,18 @@ assetsPublicPath: '/', proxyTable: { '/mdc': { - // target: 'http://172.20.10.8:8087/', - // target: 'http://192.168.230.143:8087/', target: 'http://116.63.148.72:8088/', - // target: 'http://111.230.17.122:8087/', changeOrigin: true, pathRewrite: { '^/mdc': '/mdc' } + }, + '/upload': { + target: 'http://116.63.148.72:8088/', + changeOrigin: true, + pathRewrite: { + '^/upload': '/upload' + } } }, // Various Dev Server settings -- Gitblit v1.9.3