Skip to content

Commit aa26316

Browse files
committed
correct host value
1 parent 3ab099b commit aa26316

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/SecretsApi/SecretsApi.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ private function getBaseURI()
2626
{
2727
$config = $this->request()->getConfig();
2828

29-
$protocol = $config->get('papi_protocol') ?? $config->get('protocol');
30-
$port = $config->get('papi_port') ?? $config->get('port');
31-
$host = $config->get('papi_host');
29+
$protocol = $config->get('protocol') ?? $config->get('protocol');
30+
$port = $config->get('port') ?? $config->get('port');
31+
$host = $config->get('host');
3232
if (!$host && strpos($config->get('host'), 'hermes.sandbox-') !== false) {
3333
$host = str_replace('hermes', 'pantheonapi', $config->get('host'));
3434
}

0 commit comments

Comments
 (0)