logs: make logPaths work

we have to tail via sudo script

Fixes #811
This commit is contained in:
Girish Ramakrishnan
2024-02-22 18:08:32 +01:00
parent ce42680888
commit d0dc104ede
10 changed files with 29 additions and 27 deletions

View File

@@ -69,11 +69,10 @@ export function create(origin, accessToken, type, id) {
return console.error(e);
}
const id = data.realtimeTimestamp;
const time = data.realtimeTimestamp ? moment(data.realtimeTimestamp/1000).format('MMM DD HH:mm:ss') : '';
const html = ansiToHtml(escapeHtml(typeof data.message === 'string' ? data.message : ab2str(data.message)));
lineHandler(id, time, html);
lineHandler(time, html);
};
},
getDownloadUrl() {