History

Remove newline

Jasper van Merle committed 7 years ago

Commit eada92e1 parent ad8cd231 file · +0 −1Browse files

Unified · Split

views/service-worker.js.erb+0−1
@@ -50,7 +50,6 @@ self.addEventListener('fetch', event => { · 49 unmodified lines
5050 <%# The index page will make sure the correct documentation or a proper offline page is shown %>
5151 const pathname = url.pathname;
5252 const filename = pathname.substr(1 + pathname.lastIndexOf('/')).split(/\#|\?/g)[0];
53−
5453 if (url.origin === location.origin && !filename.includes('.')) {
5554 const cachedIndex = await caches.match('/');
5655 if (cachedIndex) return cachedIndex;