From 9e065e5a8381babccd0de9159ecb81ddc1094407 Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Thu, 23 Jul 2026 00:16:56 +0300 Subject: [PATCH] Update: 2026-07-23 00:16:56 --- backend/functions.php | 4 ++-- siro_driver/lib/constant/links.dart | 4 ++-- siro_rider/lib/constant/links.dart | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/functions.php b/backend/functions.php index c1f90662..e27a3b9a 100644 --- a/backend/functions.php +++ b/backend/functions.php @@ -54,7 +54,7 @@ function isAllowedSocketUrl(string $url): bool { } function sendToLocationServer($action, $data) { - $url = getenv('LOCATION_SERVER_URL') ?: 'http://location.intaleq.xyz:2021'; + $url = getenv('LOCATION_SERVER_URL') ?: 'http://nginx/loction_server/driver_socket.php'; if (!isAllowedSocketUrl($url)) { error_log("[SSRF_BLOCKED] Attempted connection to: $url"); return; @@ -358,7 +358,7 @@ function dispatchRideToDrivers($driversData, $rideId, $payloadTemplate, $startNa $countDrivers = count($driversData); error_log("🚀 [DISPATCH_START] RideID: $rideId | Drivers Count: $countDrivers"); - $socketUrl = getenv('LOCATION_SERVER_URL') ?: 'http://location.intaleq.xyz:2021'; + $socketUrl = getenv('LOCATION_SERVER_URL') ?: 'http://nginx/loction_server/driver_socket.php'; if (!isAllowedSocketUrl($socketUrl)) return; $internalKey = function_exists('getInternalSocketKey') ? getInternalSocketKey() : ''; diff --git a/siro_driver/lib/constant/links.dart b/siro_driver/lib/constant/links.dart index 81c49aed..10c9af1f 100755 --- a/siro_driver/lib/constant/links.dart +++ b/siro_driver/lib/constant/links.dart @@ -139,9 +139,9 @@ class AppLink { case 'Egypt': return 'https://ride-egypt.siromove.com/siro/ride'; case 'Jordan': - return 'https://rides.intaleq.xyz/intaleq'; + return 'https://jordan-siro.intaleqapp.com/backend'; default: - return 'https://ride-jordan.siromove.com/siro/ride'; + return 'https://jordan-siro.intaleqapp.com/backend'; } } diff --git a/siro_rider/lib/constant/links.dart b/siro_rider/lib/constant/links.dart index 13de413f..a6b18b93 100644 --- a/siro_rider/lib/constant/links.dart +++ b/siro_rider/lib/constant/links.dart @@ -126,9 +126,9 @@ class AppLink { case 'Egypt': return 'https://ride-egypt.siromove.com/siro'; case 'Jordan': - return 'https://rides.intaleq.xyz/intaleq'; + return 'https://jordan-siro.intaleqapp.com/backend'; default: - return 'https://ride-jordan.siromove.com/siro'; + return 'https://jordan-siro.intaleqapp.com/backend'; } }