Hi,
I’m trying to use a serviceWorker in our app (we extended cockpit)
navigator.serviceWorker.register('/sw.js')
but I don’t now how to “get” ws.js to be passed to register.
My goal is to have a .js file in my source directory and be able to access it as a URL (if privately accessible even better) from the Angular app.
Any hints?
Thanks
Marco