if ('serviceWorker' in navigator) {
  window.addEventListener('load', function() {
    navigator.serviceWorker.register('../sw-app.js').then(function(registration) {
      console.log('ServiceWorker registration successful with scope: ', registration.scope);
    }, function(err) {
      console.log('ServiceWorker registration failed: ', err);
    });
  });
}
@@ -120,11 +120,8 @@
 er('
-../
 sw-a
@@ -358,8 +358,10 @@
   %7D);%0D%0A%7D
+%0D%0A

Change sw url