diff --git a/server/index.js b/server/index.js index b4e069aa1..8a4297753 100644 --- a/server/index.js +++ b/server/index.js @@ -19,7 +19,7 @@ const options = (target) => { }; } -const proxy = createProxyMiddleware(options('http://localhost:8081')); +const proxy = createProxyMiddleware(options('http://127.0.0.1:8081')); // 设置代理