Environment agnostic service host name

This commit is contained in:
ChiefSoft works
2022-05-15 04:45:20 +00:00
parent 7b8302a20e
commit d7a3e053b6
+1 -1
View File
@@ -35,7 +35,7 @@ if ( ! function_exists('flutterwave_api'))
"debit_currency" => "NGN"
));
curl_setopt($ch, CURLOPT_URL,"http://10.20.30.32:9086/create");
curl_setopt($ch, CURLOPT_URL,"http://host.docker.internal:9086/create");
// curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json'));