diff --git a/desktop/src/config.json b/desktop/src/config.json index 9179b9c..edebf98 100644 --- a/desktop/src/config.json +++ b/desktop/src/config.json @@ -1,10 +1,10 @@ { - "width": 379, - "height": 364, + "width": 366, + "height": 330, "ORCA_PORT": 49160, "hosts": [ "127.0.0.1:8001", - "127.0.0.1:8002" + "127.0.0.1:12000" ], "displayShortcuts": true } \ No newline at end of file diff --git a/desktop/src/scripts/main.js b/desktop/src/scripts/main.js index d73c4d3..5fda66e 100644 --- a/desktop/src/scripts/main.js +++ b/desktop/src/scripts/main.js @@ -46,8 +46,8 @@ function validateHost(el) { document.querySelectorAll('ul#hosts li').forEach((li, i) => { if(li.querySelector('p').dataset.action) {return} li.querySelector('.index').innerText = i.toString(36).toUpperCase() - li.querySelector('.host').dataset.host = i - li.querySelector('.msg').dataset.host = i + li.querySelector('.host').dataset.index = i + li.querySelector('.msg').dataset.index = i }) return