diff --git a/app/Services/Updater.php b/app/Services/Updater.php index dd93c9ce..34a5a713 100644 --- a/app/Services/Updater.php +++ b/app/Services/Updater.php @@ -72,7 +72,7 @@ class Updater { $ch = curl_init(); // add timestamp to control cdn cache - $url = $this->current_source['update_url'].substr(time(), 0, -3); + $url = $this->current_source['update_url']."?v=".substr(time(), 0, -3); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // quick fix for accessing https resources