From 9fc455cca48e30598fcfa6781ae9c928e8bd4e94 Mon Sep 17 00:00:00 2001 From: dmy Date: Sun, 18 Jan 2026 19:08:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0API=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E6=98=BE=E7=A4=BA=E9=A1=B5=E8=84=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在应用底部添加固定页脚显示当前连接的API地址 --- .env | 2 ++ .gitignore | 4 +++- ionic-app/index.html | 1 + ionic-app/src/App.vue | 10 ++++++++++ 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.env b/.env index e76f468..eed1209 100644 --- a/.env +++ b/.env @@ -49,3 +49,5 @@ API_KEY=22c64b60-6e60-433c-991d-f6d658024b9e # 是否启用 Basic Auth 认证(true/false) ENABLE_BASIC_AUTH=true +PORT=3300 +HOST=0.0.0.0 \ No newline at end of file diff --git a/.gitignore b/.gitignore index 68a807c..77c108f 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,6 @@ unpackage qingyun plan .trae -plans \ No newline at end of file +plans +android +docs \ No newline at end of file diff --git a/ionic-app/index.html b/ionic-app/index.html index f522617..faa7c1a 100644 --- a/ionic-app/index.html +++ b/ionic-app/index.html @@ -23,6 +23,7 @@
+ diff --git a/ionic-app/src/App.vue b/ionic-app/src/App.vue index 22b3032..c0873d2 100644 --- a/ionic-app/src/App.vue +++ b/ionic-app/src/App.vue @@ -1,5 +1,15 @@