diff --git a/modules/OpenVPN.php b/modules/OpenVPN.php index f2d9b73..c0ae1e6 100644 --- a/modules/OpenVPN.php +++ b/modules/OpenVPN.php @@ -5,8 +5,8 @@ class OpenVPN extends PatchBase { parent::__construct('OpenVPN Inc.', 'OpenVPN', 'https://openvpn.net/community-downloads/'); } function check() : bool { - if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/tags')) - return $this->parse_json('name'); + if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/releases/latest')) + return $this->parse_json('tag_name'); return false; } }