We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad8cd23 commit eada92eCopy full SHA for eada92e
views/service-worker.js.erb
@@ -50,7 +50,6 @@ self.addEventListener('fetch', event => {
50
<%# The index page will make sure the correct documentation or a proper offline page is shown %>
51
const pathname = url.pathname;
52
const filename = pathname.substr(1 + pathname.lastIndexOf('/')).split(/\#|\?/g)[0];
53
-
54
if (url.origin === location.origin && !filename.includes('.')) {
55
const cachedIndex = await caches.match('/');
56
if (cachedIndex) return cachedIndex;
0 commit comments