much simpler callback approach due to serveStatic with directories !!!
This commit is contained in:
1 parent
9ea541a1b4
commit
3c824bfc92
3 files changed
+43
-112
No files matched your search
+1
-1
@@ -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);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user