v1.4.9b Service worker cache works now

This commit is contained in:
2020-11-26 12:44:53 +01:00
parent 5a073b5cb4
commit 6d0cb5333d
4 changed files with 12 additions and 9 deletions
@@ -121,7 +121,7 @@
</style>
@yield("content")
<script src="{{ mix("/js/app.js") }}"></script>
<script src="/js/serviceWorkerRegistration.js"></script>
<script src="/serviceWorkerRegistration.js"></script>
<!--We have a service worker on the login pages, dont know if he works on the rest of the website, it looks like he does :) -->
@if(request()->cookie("mode") == "dark")
<script type="text/javascript">