From 365b69f391b1c990c75f2a8ae0ccc595dccee130 Mon Sep 17 00:00:00 2001 From: 18500206848 Date: Wed, 7 Feb 2024 22:40:40 +0800 Subject: [PATCH] 11 --- vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vue.config.js b/vue.config.js index c0bdd6d..5d62507 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,8 +3,8 @@ module.exports = { port: 1887, proxy: { '/api': { - //本地服务接口地址 - target: 'http://39.98.184.58:8000', + // target: 'http://127.0.0.1:8000', // 本地服务接口地址 + target: "http://39.98.184.58:8000", // 阿里云后台地址 ws: true, pathRewrite: { '^/api': '/'