diff --git a/web/js/main.js b/web/js/main.js index dba4432..75fda8e 100644 --- a/web/js/main.js +++ b/web/js/main.js @@ -210,7 +210,7 @@ function getServerTime() { function sendPingRequest() { const startTime = new Date().getTime(); - fetch('/ping') + fetch('./ping') .then(response => { const endTime = new Date().getTime(); const pingTime = endTime - startTime;