Skip to content

Commit 23fadad

Browse files
committed
Use https instead of http in API URL
1 parent 9c9a355 commit 23fadad

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Api/RenderApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function __construct($apiClient = null)
6464
{
6565
if ($apiClient == null) {
6666
$apiClient = new ApiClient();
67-
$apiClient->getConfig()->setHost('http://api.shotstack.io/v1');
67+
$apiClient->getConfig()->setHost('https://api.shotstack.io/v1');
6868
}
6969

7070
$this->apiClient = $apiClient;

src/Configuration.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class Configuration
9696
*
9797
* @var string
9898
*/
99-
protected $host = 'http://api.shotstack.io/v1';
99+
protected $host = 'https://api.shotstack.io/v1';
100100

101101
/**
102102
* Timeout (second) of the HTTP request, by default set to 0, no timeout
@@ -110,7 +110,7 @@ class Configuration
110110
*
111111
* @var string
112112
*/
113-
protected $userAgent = "PHP-Swagger/0.0.3";
113+
protected $userAgent = "PHP-Swagger/0.0.5";
114114

115115
/**
116116
* Debug switch (default set to false)
@@ -516,8 +516,8 @@ public static function toDebugReport()
516516
$report = "PHP SDK (Shotstack) Debug Report:\n";
517517
$report .= " OS: ".php_uname()."\n";
518518
$report .= " PHP Version: ".phpversion()."\n";
519-
$report .= " OpenAPI Spec Version: 0.0.3\n";
520-
$report .= " SDK Package Version: 0.0.3\n";
519+
$report .= " OpenAPI Spec Version: 0.0.5\n";
520+
$report .= " SDK Package Version: 0.0.5\n";
521521
$report .= " Temp Folder Path: ".self::getDefaultConfiguration()->getTempFolderPath()."\n";
522522

523523
return $report;

0 commit comments

Comments
 (0)