This commit is contained in:
Володя 2023-03-14 19:02:45 +03:00
parent 0874bdf3c2
commit ecccb77f59

View File

@ -5,7 +5,7 @@ let typeE = document.getElementById("selType");
let opE = document.getElementById("selOp");
let resultInput = document.getElementById("res");
function aba(cmd,type,wd,wd2){
fetch(`http://192.168.56.102:8080/${cmd}${type}?x=${wd}&y=${wd2}`)
fetch(`http://192.168.56.101:8080/${cmd}${type}?x=${wd}&y=${wd2}`)
.then(response => response.text())
.then(res => resultInput.value = res);
}