Update: 2026-07-23 02:14:58
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user