summaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/home.html b/templates/home.html
index 31de085..5b5cd6b 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -22,5 +22,10 @@
</div>
</form>
</div>
+ <script>
+ if (typeof navigator.serviceWorker !== 'undefined') {
+ navigator.serviceWorker.register('/static/pwabuilder-sw.js')
+ }
+ </script>
</body>
</html> \ No newline at end of file