I'm trying to use a Service worker in my app.

I've added `@angular/pwa`,
registered the service worker:

```
if ('serviceWorker' in navigator) {
    navigator.serviceWorker.register('/ngsw-worker.js', {
        scope: '/'
    }).then((registration) => {
        console.log("Service worker OK!")
    });
}

```

When i run Google Lighthouse on my local everything work perfect, and the site works in online mode, but whednI upload my app to server I recive an error in Lighthouse:

```
No manifest was fetched.

```

Do I use a wrong path?

```
manifest.json:
"start_url": "/index.html",

```