Added bugfix to SW for DevTools

This commit is contained in:
2018-04-17 21:21:03 +02:00
parent a2d6aec1f0
commit f0007f9438
3 changed files with 7 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func configureAssets(app *aero.Application) {
scriptBundle := js.Bundle()
// Service worker
serviceWorkerBytes, err := ioutil.ReadFile("sw/service-worker.js")
serviceWorkerBytes, err := ioutil.ReadFile("scripts/ServiceWorker/ServiceWorker.js")
serviceWorker := string(serviceWorkerBytes)
// CSS bundle