I'm trying to create an Angular SPA in ASP.NET Core 3. So I started a new project, used the Angular template and updated all packages to version 8.2.9 of Angular. So far so good, got a nice CI/CD pipeline to Azure, the website runs like a charm.
However, now I'm trying to add PWA capabilities to the app. So I added PWA according to the docs of angular (ng add @angular/pwa) and everything seems fine. Got a nice manifest.webmanifest file, and all expected changes are applied as expected. However, when I run the thing and start an audit, the requirements to make the PWA installable fail.
Errors I got: - This page is controlled by a service worker, however no start_url was found because no manifest was fetched. - Failures: No manifest was fetched.
It looks like the manifest file is fetched indeed, but with a faulty mime type (text/html). Any suggestions welcome here...