Skip to content
Snippets Groups Projects
Commit 87a1b59c authored by Timothee P's avatar Timothee P :sunflower:
Browse files

decrease interval to check if online

parent 2cb414eb
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ const onConfigLoaded = function(config){ ...@@ -44,7 +44,7 @@ const onConfigLoaded = function(config){
store.commit('SET_CONFIG', config); store.commit('SET_CONFIG', config);
setInterval(() => { //* check if navigator is online setInterval(() => { //* check if navigator is online
store.commit('SET_IS_ONLINE', navigator.onLine); store.commit('SET_IS_ONLINE', navigator.onLine);
}, 10000); }, 2000);
// set title and favico // set title and favico
document.title = `${config.VUE_APP_APPLICATION_NAME} ${config.VUE_APP_APPLICATION_ABSTRACT}`; document.title = `${config.VUE_APP_APPLICATION_NAME} ${config.VUE_APP_APPLICATION_ABSTRACT}`;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment