From 770be8da6c400201c6c7936d9dca45accca7bd86 Mon Sep 17 00:00:00 2001 From: vipergts450 <60085845+vipergts450@users.noreply.github.com> Date: Sun, 25 May 2025 18:01:16 -0400 Subject: [PATCH] Fix small miss in cycle-countdown.js Need to remove the leader ahead of the subpath as well. Missed this in last commit. Sorry. --- frontend/static/js/cycle-countdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/static/js/cycle-countdown.js b/frontend/static/js/cycle-countdown.js index 3b5b5d08..ae136a0c 100644 --- a/frontend/static/js/cycle-countdown.js +++ b/frontend/static/js/cycle-countdown.js @@ -95,7 +95,7 @@ window.CycleCountdown = (function() { isFetchingData = true; // Use a direct URL to the web-accessible version of sleep.json - const sleepJsonUrl = window.location.origin + './static/data/sleep.json'; + const sleepJsonUrl = './static/data/sleep.json'; // Add a timestamp to prevent caching const url = `${sleepJsonUrl}?t=${Date.now()}`;