mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 04:11:26 +08:00
docs: disable stupid service worker
This commit is contained in:
@@ -2,7 +2,7 @@ module.exports = {
|
|||||||
title: 'RSSHub',
|
title: 'RSSHub',
|
||||||
description: '🍰 使用 RSS 连接全世界',
|
description: '🍰 使用 RSS 连接全世界',
|
||||||
ga: 'UA-48084758-10',
|
ga: 'UA-48084758-10',
|
||||||
serviceWorker: true,
|
serviceWorker: false,
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
repo: 'DIYgod/RSSHub',
|
repo: 'DIYgod/RSSHub',
|
||||||
editLinks: true,
|
editLinks: true,
|
||||||
|
|||||||
@@ -2,6 +2,16 @@
|
|||||||
sidebar: auto
|
sidebar: auto
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<script>
|
||||||
|
if(navigator.serviceWorker) {
|
||||||
|
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
||||||
|
registrations.forEach((registration) => {
|
||||||
|
registration.unregister();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="https://i.imgur.com/NZpRScX.png" alt="RSSHub" width="100">
|
<img src="https://i.imgur.com/NZpRScX.png" alt="RSSHub" width="100">
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user