Update: 2026-07-23 02:14:58

This commit is contained in:
Hamza-Ayed
2026-07-23 02:14:58 +03:00
parent 9e065e5a83
commit e5bf70fddb
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ use Firebase\JWT\BeforeValidException;
function forwardLocationToPassengerSocket($passengerId, $payload) {
if (empty($passengerId)) return;
// نفترض أن سيرفر الركاب يعمل محلياً على 3031
$url = "http://127.0.0.1:3031";
$url = getenv('RIDE_SOCKET_URL') ?: "http://nginx/loction_server/passenger_socket.php";
$INTERNAL_KEY = trim(file_get_contents('/home/location/.internal_socket_key'));
$postData = [