Skip to content

Commit

Permalink
Use https instead of http in API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffski committed Aug 3, 2018
1 parent 9c9a355 commit 23fadad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Api/RenderApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function __construct($apiClient = null)
{
if ($apiClient == null) {
$apiClient = new ApiClient();
$apiClient->getConfig()->setHost('http://api.shotstack.io/v1');
$apiClient->getConfig()->setHost('https://api.shotstack.io/v1');
}

$this->apiClient = $apiClient;
Expand Down
8 changes: 4 additions & 4 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class Configuration
*
* @var string
*/
protected $host = 'http://api.shotstack.io/v1';
protected $host = 'https://api.shotstack.io/v1';

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

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

return $report;
Expand Down

0 comments on commit 23fadad

Please sign in to comment.