From bcddc7db31843236ceac99e2252de0166a251776 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Grand?= <francois.grand@inrae.fr>
Date: Thu, 12 Jan 2023 10:31:53 +0100
Subject: [PATCH] app.module.ts: attempt to modify registrationStrategy to
 registerImmediately

refs #588
---
 src/app/app.module.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 15eac9540..f21b6c3be 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -196,7 +196,7 @@ const appRoutes: Routes = [
           enabled: environment.production,
           // Register the ServiceWorker as soon as the application is stable
           // or after 30 seconds (whichever comes first).
-          registrationStrategy: 'registerWhenStable:30000'
+          registrationStrategy: 'registerImmediately'
         })
     ],
     declarations: [
-- 
GitLab