123
This commit is contained in:
parent
0874bdf3c2
commit
ecccb77f59
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user