diff --git a/templates/index.html b/templates/index.html
index fd5e896..bc82f81 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -199,7 +199,7 @@
let xhr = new XMLHttpRequest();
xhr.withCredentials = true;
- xhr.open('GET', 'http://localhost:8008/api/transactions/{{userid}}');
+ xhr.open('GET', '/api/transactions/{{userid}}');
xhr.onload = function() {
console.log(xhr.response);