mirror of
https://github.com/leoherzog/TorrentParts.git
synced 2026-10-29 03:04:13 -07:00
Add Service Worker Test
This commit is contained in:
2 files changed
+39
No files matched your search
@@ -206,6 +206,12 @@
|
||||
|
||||
<script src="bin/bundle.min.js"></script>
|
||||
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', () => navigator.serviceWorker.register('src/sw.js'));
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in new issue
Block a user