diff --git a/assets/js/scripts.js b/assets/js/scripts.js
index 40639cf547de660d264b08ac15a2a93ded844ea1..8d5ef8b77761787bc6cc6c5179df547dc1e31d1b 100644
--- a/assets/js/scripts.js
+++ b/assets/js/scripts.js
@@ -163,7 +163,7 @@ function fetchMetadata(dateObj) {
     showLoading();
     
     $.ajax({
-        url: '/cgi-bin/metadata.py', 
+        url: 'cgi-bin/metadata.py', 
         method: 'GET',
         dataType: 'json',
         success: function(response) {
@@ -559,7 +559,7 @@ function fetchSatellitesForDay(dateObj) {
     let dateStr = `${year}-${month}-${day}`;
     
     $.ajax({
-        url: '/cgi-bin/satellites.py?date=' + dateStr,
+        url: 'cgi-bin/satellites.py?date=' + dateStr,
         method: 'GET',
         dataType: 'json',
         success: function(response) {
@@ -781,7 +781,7 @@ function fetchDataForDay(dateObj){
     
     // Use low-level XHR for better memory control
     window.currentAjaxRequest = $.ajax({
-        url: '/cgi-bin/data.py?' + query,
+        url: 'cgi-bin/data.py?' + query,
         method: 'GET',
         dataType: 'json',
         success: function(response) {