Skip to content

Commit c5c8e6c

Browse files
author
Frank Carey
committed
Initial commit of a v3 port. Update url and protocol.
1 parent 5a26f61 commit c5c8e6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/Github/HttpClient.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ abstract class Github_HttpClient implements Github_HttpClientInterface
1313
* @var array
1414
*/
1515
protected $options = array(
16-
'protocol' => 'http',
17-
'url' => ':protocol://github.com/api/v2/:format/:path',
16+
'protocol' => 'https',
17+
'url' => ':protocol://api.github.com/:path',
1818
'format' => 'json',
1919
'user_agent' => 'php-github-api (http://github.com/ornicar/php-github-api)',
20-
'http_port' => 80,
20+
'http_port' => 443,
2121
'timeout' => 10,
2222
'login' => null,
2323
'token' => null

0 commit comments

Comments
 (0)