Skip to content

Commit 6241895

Browse files
authored
Merge pull request #36 from kamieniarz/patch-1
Add cosmog support
2 parents 350d793 + 426ca2b commit 6241895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rotomonitor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ function UpdateDevices() {
346346
}
347347
data.workers.forEach(async function(worker) {
348348
var name = "";
349-
if (worker.worker.origin.includes("Aegis")) {
349+
if (worker.worker.origin.includes("Aegis") || worker.worker.origin.includes("cosmog")) {
350350
let idnum = worker.worker.workerId.split(/[-]+/).pop();
351351
name = worker.worker.deviceId + "_" + idnum.toString().padStart(3, '0');
352352
worker.worker.origin = worker.worker.deviceId;

0 commit comments

Comments
 (0)