Track and display build authors
All checks were successful
App Image CI / Build app image (pull_request) Successful in -1m26s
NPM Audit Check / Check NPM audit (pull_request) Successful in -2m14s

This commit is contained in:
2025-09-23 16:09:31 -05:00
parent 24d7b37583
commit b20bbf40fc
5 changed files with 41 additions and 24 deletions

View File

@@ -4,14 +4,6 @@ document.addEventListener('DOMContentLoaded', function () {
const buildStatusTxt = this.getElementById('buildStatus');
let started = logContainer.childElementCount > 0;
/**
* Get the correct path to establish a ws connection
* @param {Location} loc
*/
function wsPath(loc) {
return loc.pathname.replace(/\/$/, '') + '/ws';
}
/**
* Add log line to the DOM
* @param {string[]} str
@@ -52,7 +44,7 @@ document.addEventListener('DOMContentLoaded', function () {
const loc = window.location;
let new_uri = loc.protocol === 'https:' ? 'wss:' : 'ws:';
new_uri += "//" + loc.host;
new_uri += wsPath(loc);
new_uri += loc.pathname + 'ws';
var ws = new WebSocket(new_uri);
ws.onmessage = function (message) {