mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-08 03:46:18 +08:00
commit
159fc12fb9
@ -23,6 +23,8 @@ const config = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
scripts: ["/unregister-sw.js"],
|
||||||
|
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
"docusaurus-preset-nonepress",
|
"docusaurus-preset-nonepress",
|
||||||
|
1
website/static/unregister-sw.js
Normal file
1
website/static/unregister-sw.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
navigator.serviceWorker.getRegistrations().then(function(e){for(var r,i=e,t=Array.isArray(i),a=0,i=t?i:i[Symbol.iterator]();;){if(t){if(a>=i.length)break;r=i[a++]}else{if((a=i.next()).done)break;r=a.value}r.unregister()}});
|
Loading…
x
Reference in New Issue
Block a user