From 39b9d3fd2aafcfaa9aaa39eff083a148d355a6ee Mon Sep 17 00:00:00 2001 From: token <239573049@qq.com> Date: Sat, 20 Jan 2024 02:14:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/env-config.js | 4 ++++ web/public/index.html | 11 +---------- 2 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 web/public/env-config.js diff --git a/web/public/env-config.js b/web/public/env-config.js new file mode 100644 index 0000000..bd51cff --- /dev/null +++ b/web/public/env-config.js @@ -0,0 +1,4 @@ +window._env_ = { + api_url: "http://192.168.31.173:5048", + } + \ No newline at end of file diff --git a/web/public/index.html b/web/public/index.html index aa069f2..ace93ac 100644 --- a/web/public/index.html +++ b/web/public/index.html @@ -28,16 +28,7 @@ +
-