From 850057f46fcfa730c1e23fd24dc7071d143ef831 Mon Sep 17 00:00:00 2001 From: xiaoqidun Date: Fri, 23 Oct 2026 21:36:37 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E4=B8=8B=E8=BD=BD=E5=85=A5=E5=8F=A3):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=A1=8C=E9=9D=A2=E7=89=88=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/webui/index.html | 1 + assets/webui/ofdgo_work.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/assets/webui/index.html b/assets/webui/index.html index 4393383..43f2a62 100644 --- a/assets/webui/index.html +++ b/assets/webui/index.html @@ -198,6 +198,7 @@

OFDGo

构建版本develop
项目官网https://ofdgo.aite.me/
+
桌面下载https://ofdgo.aite.me/releases/
项目仓库https://github.com/xiaoqidun/ofdgo
diff --git a/assets/webui/ofdgo_work.js b/assets/webui/ofdgo_work.js index f509869..fa1aa46 100644 --- a/assets/webui/ofdgo_work.js +++ b/assets/webui/ofdgo_work.js @@ -92,6 +92,8 @@ async function readResource(event, navigation) { bundle = await readBundle(meta, CLIENT_PREFIX + event.clientId); } if (!bundle || !await caches.has(bundle.name)) { + const client = await self.clients.get(event.clientId); + if (client && resourceURL(client.url) !== self.registration.scope) return fetch(event.request); return Response.error(); } if (event.resultingClientId) {