php api endpoint back to 127.0.0.1

This commit is contained in:
matt committed 2026-10-17 05:52:03 -07:00
1 parent 6f0fd8229c
commit 48e2e7061e
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
function callApi(string $method, string $path, $body = null)
{
// API base URL – update if your API is hosted elsewhere
$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);