1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 07:25:54 +00:00

change version.json endpoint URL

This commit is contained in:
Andrew Dolgov
2019-08-01 11:51:27 +03:00
parent 76bc53a499
commit 4edfb526e1

View File

@@ -591,7 +591,7 @@ class RPC extends Handler_Protected {
$rv = [];
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) {
$content = json_decode($content, true);