actually expose API port
This commit is contained in:
1 parent
aed80b48c0
commit
b2a4307eae
3 files changed
+3
-2
No files matched your search
@@ -2,6 +2,7 @@
|
||||
<?php
|
||||
// config.php
|
||||
// Base URL for the API
|
||||
# define('BASE_API_URL', 'http://172.25.1.105:5000');
|
||||
define('BASE_API_URL', 'http://127.0.0.1:5000');
|
||||
|
||||
?>
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
// file settings
|
||||
require_once __DIR__ . '/config.php';
|
||||
|
||||
// --- Helper to call the API -------------------------------------------
|
||||
function callApi(string $method, string $path, $body = null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user