From 80e9a73a5aff05ca21b993e3a36e0c99f3b540b6 Mon Sep 17 00:00:00 2001 From: Tanishq Dubey Date: Sat, 25 May 2024 20:35:09 -0400 Subject: [PATCH] remove localhost --- templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);