summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/src/main.ts')
-rw-r--r--catalog-ui/src/main.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog-ui/src/main.ts b/catalog-ui/src/main.ts
index 20e4352901..9d25a34169 100644
--- a/catalog-ui/src/main.ts
+++ b/catalog-ui/src/main.ts
@@ -38,10 +38,10 @@ if (__ENV__==='prod') {
// Ugliy fix because the cookie recieved from webseal change his value after some seconds.
declare var __ENV__: string;
-let timeout:number = 5000;
+let timeout:number = 0;
if (__ENV__==='dev'){
timeout=0;
-}
+}
window.setTimeout(()=>{
platformBrowserDynamic().bootstrapModule(AppModule).then(platformRef => {
const upgrade = platformRef.injector.get(UpgradeModule) as UpgradeModule;