mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
3a39fb293f
commit
850057f46f
2 files changed
+3
No files matched your search
@@ -198,6 +198,7 @@
|
||||
<h2 id="aboutTitle" class="form-title">OFDGo</h2>
|
||||
<div class="about-row"><span>构建版本</span><span id="aboutVersion">develop</span></div>
|
||||
<div class="about-row"><span>项目官网</span><a href="https://ofdgo.aite.me/" target="_blank" rel="noreferrer">https://ofdgo.aite.me/</a></div>
|
||||
<div class="about-row"><span>桌面下载</span><a href="https://ofdgo.aite.me/releases/" target="_blank" rel="noreferrer">https://ofdgo.aite.me/releases/</a></div>
|
||||
<div class="about-row"><span>项目仓库</span><a href="https://github.com/xiaoqidun/ofdgo" target="_blank" rel="noreferrer">https://github.com/xiaoqidun/ofdgo</a></div>
|
||||
</form>
|
||||
</dialog>
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user