DEV: Force workboxjs debug to false on dev env too

DEV: Force workboxjs debug to false on dev env too

diff --git a/app/assets/javascripts/service-worker.js.erb b/app/assets/javascripts/service-worker.js.erb
index 56d5eb7..cc911ea 100644
--- a/app/assets/javascripts/service-worker.js.erb
+++ b/app/assets/javascripts/service-worker.js.erb
@@ -3,7 +3,8 @@
 importScripts("<%= ::UrlHelper.absolute("/javascripts/workbox/workbox-sw.js") %>");
 
 workbox.setConfig({
-  modulePathPrefix: "<%= ::UrlHelper.absolute("/javascripts/workbox") %>"
+  modulePathPrefix: "<%= ::UrlHelper.absolute("/javascripts/workbox") %>",
+  debug: false
 });
 
 const cacheVersion = "1";

GitHub sha: b505d1d7

1 Like