From 834b8dc608bbbfbac5fd3506464d14bfb4a01d3d Mon Sep 17 00:00:00 2001 From: stqfdyr <89149493+stqfdyr@users.noreply.github.com> Date: Mon, 5 Oct 2026 20:19:23 +0800 Subject: [PATCH 1/5] =?UTF-8?q?fix:=20=E5=88=87=E5=9B=9E=E5=89=8D=E5=8F=B0?= =?UTF-8?q?=E7=AB=8B=E5=8D=B3=E5=88=B7=E6=96=B0=E5=B9=B6=E9=87=8D=E8=BF=9E?= =?UTF-8?q?=E5=AE=9E=E6=97=B6=E6=8E=A8=E9=80=81=EF=BC=9B=E5=8A=A0=20iOS=20?= =?UTF-8?q?=E4=B8=BB=E5=B1=8F=E5=B9=95=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + index.html | 1 + public/apple-touch-icon.png | Bin 0 -> 3003 bytes src/lib/api.ts | 58 ++++++++++++++++++++++++++++-------- 4 files changed, 47 insertions(+), 13 deletions(-) create mode 100644 public/apple-touch-icon.png diff --git a/README.md b/README.md index 25b49b9..2886f0b 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ MONITOR_HUB=https://hub.example.com npm run dev 本主题用 `/node/{id}` 作为详情页。hub 的回落对它够用,但**hub 前面若有按路径做正向白名单的反代 或 WAF,得把这个前缀放行**:从列表点进去只是 pushState,边缘看不见,刷新详情页才会真的请求 `/node/{id}`,症状是「点进去正常,一刷新就被拦」。 +图标 `/favicon.svg` 和 `/apple-touch-icon.png` 同样要放行,后者被拦时 iOS 收藏和添加到主屏幕都没有图标。 ## 许可 diff --git a/index.html b/index.html index 3259a41..c7bfeaa 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ +