Parcourir la source

Remove newline

Jasper van Merle il y a 6 ans
Parent
commit
eada92ec98
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      views/service-worker.js.erb

+ 0 - 1
views/service-worker.js.erb

@@ -50,7 +50,6 @@ self.addEventListener('fetch', event => {
       <%# The index page will make sure the correct documentation or a proper offline page is shown  %>
       const pathname = url.pathname;
       const filename = pathname.substr(1 + pathname.lastIndexOf('/')).split(/\#|\?/g)[0];
-
       if (url.origin === location.origin && !filename.includes('.')) {
         const cachedIndex = await caches.match('/');
         if (cachedIndex) return cachedIndex;