diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 19:26:09 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-11-28 19:26:09 +0100 |
commit | a52db78bd9f16c6650c611cfc5e75064fb387c8f (patch) | |
tree | 220965f072b34c30bf534adc755d1e43e83f9508 | |
parent | docker: port 8080 -> 8090 (diff) | |
download | wg-api-web-a52db78bd9f16c6650c611cfc5e75064fb387c8f.tar.gz wg-api-web-a52db78bd9f16c6650c611cfc5e75064fb387c8f.zip |
html: fix relative URLs
-rw-r--r-- | html/index.html | 2 |
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(); } |