base controller URL fix

This commit is contained in:
CHIEFSOFT\ameye
2025-07-15 18:43:34 -04:00
parent fdd89e5d32
commit 52fac9e363
2 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -106,7 +106,8 @@ abstract class BaseController extends Controller
public function ansibleLogin():string {
$result = "Unhandled exception";
$base_url = "http://172.16.4.90:3000";
$base_url = $_ENV['ANSIBLE_AUTOMATION_SERVER_LOCATION'];
// $base_url = "http://172.16.4.90:3000";
$cookies = tempnam('/tmp','cookie.txt');
# 1. Login