Spremenjeni endpointi

sbc
Jurij Podgoršek 2023-06-09 18:41:04 +02:00
parent 959f21359c
commit b4d7aa0c90
1 changed files with 5 additions and 3 deletions

View File

@ -4,18 +4,20 @@ function xhttp() {
window.peljiLevo = function () { window.peljiLevo = function () {
var xh = xhttp(); var xh = xhttp();
xh.open('GET', "/cm?cmnd=PojdiLevo%20" + DOLZINA); //xh.open('GET', "/cm?cmnd=PojdiLevo%20" + DOLZINA);
xh.open('GET', "/cm/PojdiLevo");
xh.send(); xh.send();
} }
window.peljiDesno = function () { window.peljiDesno = function () {
var xh = xhttp(); var xh = xhttp();
xh.open('GET', "/cm?cmnd=PojdiDesno%20" + DOLZINA); xh.open('GET', "/cm/PojdiDesno");
xh.send(); xh.send();
} }
window.peljiRavno = function () { window.peljiRavno = function () {
var xh = xhttp(); var xh = xhttp();
xh.open('GET', "/cm?cmnd=PojdiRavno%20" + DOLZINA); //xh.open('GET', "/cm?cmnd=PojdiRavno%20" + DOLZINA);
xh.open('GET', "/cm/PojdiRavno");
xh.send(); xh.send();
} }