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',
|
||||
description: '🍰 使用 RSS 连接全世界',
|
||||
ga: 'UA-48084758-10',
|
||||
serviceWorker: true,
|
||||
serviceWorker: false,
|
||||
themeConfig: {
|
||||
repo: 'DIYgod/RSSHub',
|
||||
editLinks: true,
|
||||
|
||||
@@ -2,6 +2,16 @@
|
||||
sidebar: auto
|
||||
---
|
||||
|
||||
<script>
|
||||
if(navigator.serviceWorker) {
|
||||
navigator.serviceWorker.getRegistrations().then(function(registrations) {
|
||||
registrations.forEach((registration) => {
|
||||
registration.unregister();
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
||||
<p align="center">
|
||||
<img src="https://i.imgur.com/NZpRScX.png" alt="RSSHub" width="100">
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user