mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 23:49:43 +00:00
hooked up websockets to stream output
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
outputWS.onclose = function (e) { window.location.reload(); };
|
||||
outputWS.onmessage = function (e) {
|
||||
outputBox.innerHTML += formatLine(e.data);
|
||||
window.scrollTo(0, document.body.scrollHeight)
|
||||
//window.scrollTo(0, document.body.scrollHeight)
|
||||
};
|
||||
var re = /\u001B\[([0-9]+;?)*[Km]/g;
|
||||
var styles = new Array();
|
||||
|
Reference in New Issue
Block a user