From a52db78bd9f16c6650c611cfc5e75064fb387c8f Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 28 Nov 2022 19:26:09 +0100 Subject: html: fix relative URLs --- html/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html') 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(); } -- cgit v1.2.3