From 5793ff4c130891e7cdb64dcf5683f495d1be8fdf Mon Sep 17 00:00:00 2001 From: Cow Date: Thu, 27 Mar 2025 20:40:33 -0700 Subject: [PATCH] fix nojs refreshing --- public/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 18361f4..1fd33c4 100644 --- a/public/index.php +++ b/public/index.php @@ -11,8 +11,9 @@ $currentUrl = $protocol . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $parentUrl = dirname($currentUrl); // Get currency data from JSON +`php coingecko.php`; + if (!file_exists($COINGECKO_JSON_PATH)) { - `php coingecko.php`; sleep(1); }