commit 71be992bb07fccfb9d2970a106b49ed2c1ff5596
parent e87dd53fa2d7689b7af3d12b16549396cdd17648
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 17 Feb 2018 15:53:59 +0100
Register Service Worker always
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/app.module.ts b/src/app/app.module.ts
@@ -60,7 +60,7 @@ export const config: GalleryConfig = {
],
imports: [
BrowserModule.withServerTransition({appId: 'snn-app'}),
- environment.production ? ServiceWorkerModule.register('/ngsw-worker.js') : [],
+ ServiceWorkerModule.register('/ngsw-worker.js'),
MDBBootstrapModule.forRoot(),
AppRoutingModule,
ScrollbarModule,