aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-11-28 19:26:09 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-11-28 19:26:09 +0100
commita52db78bd9f16c6650c611cfc5e75064fb387c8f (patch)
tree220965f072b34c30bf534adc755d1e43e83f9508
parentdocker: port 8080 -> 8090 (diff)
downloadwg-api-web-a52db78bd9f16c6650c611cfc5e75064fb387c8f.tar.gz
wg-api-web-a52db78bd9f16c6650c611cfc5e75064fb387c8f.zip
html: fix relative URLs
-rw-r--r--html/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/index.html b/html/index.html
index 0300a18..25a1651 100644
--- a/html/index.html
+++ b/html/index.html
@@ -159,7 +159,7 @@ function in_code(text) {
function send_request(endpoint, callback) {
let request = new XMLHttpRequest();
request.addEventListener('load', callback);
- request.open('GET', '/api/' + endpoint);
+ request.open('GET', 'api/' + endpoint);
request.send();
}