diff --git a/vue.config.js b/vue.config.js index 55781c4..e4e5e2c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,7 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'https://dy12333.org.cn/api/', // 内网 - // target: 'http://192.168.1.109:8000', // 本地测试 + target: 'http://localhost:8000', ws: true, pathRewrite: { '^/api': '/'