Closed PaoloP98 closed 4 years ago
I want to test this package on localhost so, I register the service in Startup.cs: services.AddProgressiveWebApp(new PwaOptions { AllowHttp = true, RegisterServiceWorker = true }); But I get this error from console:
services.AddProgressiveWebApp(new PwaOptions { AllowHttp = true, RegisterServiceWorker = true });
Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://localhost:5566/') with script ('https://localhost:5566/serviceworker'): An SSL certificate error occurred when fetching the script.
I want to test this package on localhost so, I register the service in Startup.cs:
services.AddProgressiveWebApp(new PwaOptions { AllowHttp = true, RegisterServiceWorker = true });
But I get this error from console:Uncaught (in promise) DOMException: Failed to register a ServiceWorker for scope ('https://localhost:5566/') with script ('https://localhost:5566/serviceworker'): An SSL certificate error occurred when fetching the script.