sw.js: change to a relative link for the workbox files.

This was broken after the docs refactoring.
This commit is contained in:
XhmikosR 2018-05-25 17:49:00 +03:00
parent 96cbb58cb3
commit f20d0f43fd
1 changed files with 1 additions and 1 deletions

2
sw.js
View File

@ -1,5 +1,5 @@
/* global workbox:false */
self.importScripts('/assets/js/vendor/{fileName}')
self.importScripts('assets/js/vendor/{fileName}')
workbox.precaching.precacheAndRoute([])