diff --git a/vue.config.js b/vue.config.js index 60d350b..8875cc1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -38,16 +38,16 @@ module.exports = { }, proxy: { '/development': { - // target: `http://inteview.t1j2.com/`, //后台服务地址 - target:'http://localhost:8877', + target: `http://inteview.t1j2.com/`, //后台服务地址 + // target:'http://localhost:8877', changeOrigin: true, pathRewrite: { '^/development': '' } }, '/api': { - // target: `http://inteview.t1j2.com/`, //后台服务地址 - target: 'http://localhost:8877', + target: `http://inteview.t1j2.com/`, //后台服务地址 + // target: 'http://localhost:8877', changeOrigin: true, pathRewrite: {} }