This commit is contained in:
Hamza-Ayed
2026-04-28 14:14:11 +03:00
parent 76d06a4140
commit 3fa9aee14e
6 changed files with 21 additions and 20 deletions

View File

@@ -31,9 +31,9 @@ try {
// ==========================================
// 2. طلب الـ IDs والمواقع من سيرفر اللوكيشن (Redis API)
// ==========================================
$locationServerUrl = "https://location.intaleq.xyz/api_get_nearby.php";
$locationServerUrl = getenv('LOCATION_API_URL');
// تأكد من المسار الصحيح للمفتاح على السيرفر الرئيسي
$INTERNAL_KEY = trim(file_get_contents('/home/intaleq-api/.internal_socket_key'));
$INTERNAL_KEY = trim(file_get_contents(getenv('INTERNAL_SOCKET_KEY_PATH')));
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $locationServerUrl);