aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-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();
}