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