This commit is contained in:
Hamza-Ayed
2026-04-29 15:01:11 +03:00
parent 10d69033dd
commit c339e87aeb
8 changed files with 122 additions and 40 deletions

View File

@@ -143,7 +143,7 @@ function forwardLocationToPassengerSocket(
$http = new AsyncHttp();
$http->request(
'http://rides.intaleq.xyz:3031',
'http://127.0.0.1:3031',
[
'method' => 'POST',
'data' => http_build_query([
@@ -456,8 +456,8 @@ $io->on('connection', function ($socket) use ($INTERNAL_KEY) {
forwardLocationToPassengerSocket(
$driverId, $passengerId,
[
'lat' => $lat,
'lng' => $lng,
'latitude' => $lat,
'longitude' => $lng,
'heading' => $heading,
'speed' => $speed,
'ride_id' => $rideId,