19
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user