1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Changed API url

This commit is contained in:
Krateng
2019-05-12 10:20:47 +02:00
parent 0bf1790a7c
commit 3fce682c00
6 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@ function search(searchfield) {
else {
xhttp = new XMLHttpRequest();
xhttp.onreadystatechange = searchresult
xhttp.open("GET","/db/search?max=5&query=" + encodeURIComponent(txt), true);
xhttp.open("GET","/api/search?max=5&query=" + encodeURIComponent(txt), true);
xhttp.send();
}
}