Skip to content

Commit

Permalink
Allow also query strings
Browse files Browse the repository at this point in the history
  • Loading branch information
leganz authored and Manuel.PirkerIhl committed Aug 28, 2020
1 parent 7e24f8d commit 31d7844
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/js/serviceworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ self.addEventListener('activate', event => {
// Serve from Cache
self.addEventListener("fetch", event => {
event.respondWith(
caches.match(event.request)
caches.match(event.request, {'ignoreSearch': true})
.then(response => {
return response || fetch(event.request);
})
Expand Down
2 changes: 1 addition & 1 deletion resources/views/meta.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Web Application Manifest -->
<link rel="manifest" href="{{ route('laravelpwa.manifest') }}">
<link rel="manifest" href="{{ route('laravelpwa.manifest') }}" crossorigin="use-credentials">
<!-- Chrome for Android theme color -->
<meta name="theme-color" content="{{ $config['theme_color'] }}">

Expand Down

0 comments on commit 31d7844

Please sign in to comment.