From: XhmikosR Date: Fri, 25 May 2018 14:49:00 +0000 (+0300) Subject: sw.js: change to a relative link for the workbox files. X-Git-Tag: v4.1.2~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20d0f43fdfc5a8620d7f777ef25b4d79c380312;p=thirdparty%2Fbootstrap.git sw.js: change to a relative link for the workbox files. This was broken after the docs refactoring. --- diff --git a/sw.js b/sw.js index 1a49289a17..e21423ca5b 100644 --- a/sw.js +++ b/sw.js @@ -1,5 +1,5 @@ /* global workbox:false */ -self.importScripts('/assets/js/vendor/{fileName}') +self.importScripts('assets/js/vendor/{fileName}') workbox.precaching.precacheAndRoute([])