From cd2a5241cdbee482652d987c3553f7aa2e2d0679 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期二, 31 一月 2023 11:35:41 +0800 Subject: [PATCH] fix: bug --- vue.config.js | 2 +- .history/vue.config_20221223150042.js | 18 ++++++++++++++++++ .history/vue.config_20221013142211.js | 18 ++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletions(-) diff --git a/.history/vue.config_20221013142211.js b/.history/vue.config_20221013142211.js new file mode 100644 index 0000000..e2c85b3 --- /dev/null +++ b/.history/vue.config_20221013142211.js @@ -0,0 +1,18 @@ +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ + transpileDependencies: true, + devServer: { + host: 'localhost', + port: 9098, + open: true, + proxy: { + '/api': { + target: 'http://localhost:9099', + changeOrigin: true, + pathRewrite: { + '^/api': '' + } + } + } + } +}) diff --git a/.history/vue.config_20221223150042.js b/.history/vue.config_20221223150042.js new file mode 100644 index 0000000..28090c3 --- /dev/null +++ b/.history/vue.config_20221223150042.js @@ -0,0 +1,18 @@ +const { defineConfig } = require('@vue/cli-service') +module.exports = defineConfig({ + transpileDependencies: true, + devServer: { + host: 'localhost', + port: 9098, + open: true, + proxy: { + '/api': { + target: 'http://42.193.1.25:8888', + changeOrigin: true, + pathRewrite: { + '^/api': '' + } + } + } + } +}) diff --git a/vue.config.js b/vue.config.js index e2c85b3..28090c3 100644 --- a/vue.config.js +++ b/vue.config.js @@ -7,7 +7,7 @@ open: true, proxy: { '/api': { - target: 'http://localhost:9099', + target: 'http://42.193.1.25:8888', changeOrigin: true, pathRewrite: { '^/api': '' -- Gitblit v1.8.0