much simpler callback approach due to serveStatic with directories !!!

This commit is contained in:
schmidtsi76327 committed 2021-06-27 01:56:30 +02:00
1 parent 9ea541a1b4
commit 3c824bfc92
3 files changed
+43 -112

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ xhr.onreadystatechange = function(){
}
function reloadTerminal() {
xhr.open("GET", "/terminal", true);
xhr.open("POST", "/app=terminal", true);
xhr.send();
setTimeout(reloadTerminal, 1000);
};