mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:45:55 +00:00
change version.json endpoint URL
This commit is contained in:
@@ -591,7 +591,7 @@ class RPC extends Handler_Protected {
|
|||||||
$rv = [];
|
$rv = [];
|
||||||
|
|
||||||
if (CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && defined("GIT_VERSION_TIMESTAMP")) {
|
if (CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && defined("GIT_VERSION_TIMESTAMP")) {
|
||||||
$content = @fetch_file_contents(["url" => "https://tt-rss.org/version.json"]);
|
$content = @fetch_file_contents(["url" => "https://srv.tt-rss.org/version.json"]);
|
||||||
|
|
||||||
if ($content) {
|
if ($content) {
|
||||||
$content = json_decode($content, true);
|
$content = json_decode($content, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user