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

@@ -21,8 +21,8 @@ $redisResultsMap = [];
// 1. محاولة البحث عبر Redis
try {
$locationServerUrl = "http://location.intaleq.xyz:2021";
$INTERNAL_KEY = trim(@file_get_contents('/home/intaleq-api/.internal_socket_key'));
$locationServerUrl = getenv('LOCATION_SOCKET_URL');
$INTERNAL_KEY = trim(file_get_contents(getenv('INTERNAL_SOCKET_KEY_PATH')));
$postData = [
'action' => 'get_nearby_ride_ids',