php api endpoint back to 127.0.0.1
This commit is contained in:
1 parent
6f0fd8229c
commit
48e2e7061e
4 files changed
+4
-4
No files matched your search
@@ -7,7 +7,7 @@
|
||||
// --- Helper to call the API -------------------------------------------
|
||||
function callApi(string $method, string $path, $body = null)
|
||||
{
|
||||
$url = 'http://172.25.1.105:5000' . $path;
|
||||
$url = 'http://127.0.0.1:5000' . $path;
|
||||
$ch = curl_init($url);
|
||||
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
||||
Reference in new issue
Block a user