We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b487d4a commit cc5c2d8Copy full SHA for cc5c2d8
src/Kitar/Dynamodb/Connection.php
@@ -79,6 +79,10 @@ protected function createClient(array $config)
79
'endpoint' => $config['endpoint'] ?? null,
80
];
81
82
+ if(preg_match('#^https?://#i', $dynamoConfig['endpoint']) === 0){
83
+ $dynamoConfig['endpoint'] = "https://" . $dynamoConfig['endpoint'];
84
+ }
85
+
86
if ($key = $config['access_key'] ?? null) {
87
$config['key'] = $key;
88
unset($config['access_key']);
0 commit comments