diff --git a/Flask/static/js/main.js b/Flask/static/js/main.js index 70581ea..31a8f7c 100644 --- a/Flask/static/js/main.js +++ b/Flask/static/js/main.js @@ -73,7 +73,20 @@ function change_logs(value) { let doc = myIframe.contentDocument; doc.body.innerHTML = doc.body.innerHTML + ''; myIframe.contentWindow.scrollTo(0, myIframe.contentDocument.body.scrollHeight); + + window.setInterval(function() { + reloadIFrame() + }, 500); }); + + function reloadIFrame() { + console.log('reloading..'); + document.getElementById('iframe').contentWindow.location.reload(); + + window.setInterval(function() { + reloadIFrame() + }, 100000); + } myIframe.src = "/static/logs/" + value + ".txt"; diff --git a/version b/version index 16b3e2b..1893585 100644 --- a/version +++ b/version @@ -1 +1 @@ -v6.6.9 +v6.6.10