From 2de502437661df9864ae71466a2279ee243c6c23 Mon Sep 17 00:00:00 2001 From: wang_yp <357754663@qq.com> Date: Mon, 7 Apr 2025 10:38:11 +0800 Subject: [PATCH] fix(im) --- package.json | 1 + src/util/config.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 41f7fbd..a87bad0 100644 --- a/package.json +++ b/package.json @@ -94,6 +94,7 @@ "build": "node scripts/build.js", "test": "node scripts/test.js" }, + "proxy":"http://127.0.0.1:12214/v1", "eslintConfig": { "extends": [ "react-app", diff --git a/src/util/config.ts b/src/util/config.ts index 9acf9f9..6d0cec7 100644 --- a/src/util/config.ts +++ b/src/util/config.ts @@ -1,4 +1,4 @@ class Config { - static baseUrl = "http://127.0.0.1:12214/v1"; + static baseUrl = "/"; } export default Config;