From 87a1b59c1e22adc011cf2d3893569a5647ad98d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e?= <tpoussard@neogeo.fr> Date: Tue, 2 Aug 2022 18:45:20 +0200 Subject: [PATCH] decrease interval to check if online --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 4bf957d2..0bae0e95 100644 --- a/src/main.js +++ b/src/main.js @@ -44,7 +44,7 @@ const onConfigLoaded = function(config){ store.commit('SET_CONFIG', config); setInterval(() => { //* check if navigator is online store.commit('SET_IS_ONLINE', navigator.onLine); - }, 10000); + }, 2000); // set title and favico document.title = `${config.VUE_APP_APPLICATION_NAME} ${config.VUE_APP_APPLICATION_ABSTRACT}`; -- GitLab