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;