PWA Service Worker Configuration
Service workers in the browser aloow the Progressive Web Application (PWA) functionality.
To activate a service worker in angular config:
"serviceWorker": true;
The configuration of the service worker is in two files:
ngsw.config.json
manifest.webmanifest
Angular Service workers can trigger asset loading issues in the browser e.g. fonts. Ensure your security policy in NestJS is configured correctly with Helmet & CORS in:
/nest-api/src/main.ts
Last updated 4 years ago