Golinks: Repo moved to git.mills.io

This commit is contained in:
Steffen Lange 2021-07-27 15:11:14 +02:00
parent 8a091ae484
commit 32d0ac744e

View file

@ -2,10 +2,10 @@
class Golinks extends PatchBase { class Golinks extends PatchBase {
function __construct() { function __construct() {
parent::__construct('James Mills', 'golinks', 'https://prologic.github.io/golinks/'); parent::__construct('James Mills', 'golinks', 'https://git.mills.io/prologic/golinks');
} }
function check() : bool { function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/prologic/golinks/releases/latest')) if ($this->fetch_json('https://git.mills.io/api/v1/repos/prologic/golinks/releases?pre-release=false&limit=1'))
return $this->parse_json('tag_name'); return $this->parse_json('tag_name');
return false; return false;
} }