Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
DegrangeM committed Aug 20, 2020
1 parent db543e8 commit 25041ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -19,7 +19,9 @@
<script src="ui.js"></script> <!-- Gère l'interface -->
<script src="main.js"></script> <!-- Fichier principal -->
<script>
navigator.serviceWorker.register('sw.js');
if(location.protocol !== 'file:') {
navigator.serviceWorker.register('sw.js');
}
</script>
</body>
</html>

0 comments on commit 25041ee

Please sign in to comment.