update URL pointing to version.json

This commit is contained in:
Andrew Dolgov 2020-09-19 07:33:59 +03:00
parent 7584ecc8a2
commit 05ef9aac2f
1 changed files with 1 additions and 1 deletions

View File

@ -602,7 +602,7 @@ class RPC extends Handler_Protected {
get_version($git_commit, $git_timestamp);
if (defined('CHECK_FOR_UPDATES') && CHECK_FOR_UPDATES && $_SESSION["access_level"] >= 10 && $git_timestamp) {
$content = @fetch_file_contents(["url" => "https://srv.tt-rss.org/version.json"]);
$content = @fetch_file_contents(["url" => "https://tt-rss.org/version.json"]);
if ($content) {
$content = json_decode($content, true);