PWA with Codeigniter Multilingual
What is the correct file name for your Service Worker? service-worker.js or sw.js
If file name is service-worker.js, so You have to call the correct name
var swLocation = '/service-worker.js';
What is the correct file name for your Service Worker? service-worker.js or sw.js
If file name is service-worker.js, so You have to call the correct name
var swLocation = '/service-worker.js';