Skip to content

Commit

Permalink
correct host value
Browse files Browse the repository at this point in the history
  • Loading branch information
stovak committed Nov 21, 2024
1 parent 3ab099b commit aa26316
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SecretsApi/SecretsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ private function getBaseURI()
{
$config = $this->request()->getConfig();

$protocol = $config->get('papi_protocol') ?? $config->get('protocol');
$port = $config->get('papi_port') ?? $config->get('port');
$host = $config->get('papi_host');
$protocol = $config->get('protocol') ?? $config->get('protocol');
$port = $config->get('port') ?? $config->get('port');
$host = $config->get('host');
if (!$host && strpos($config->get('host'), 'hermes.sandbox-') !== false) {
$host = str_replace('hermes', 'pantheonapi', $config->get('host'));
}
Expand Down

0 comments on commit aa26316

Please sign in to comment.