Food delivery driver module + masked calls + TURN
This commit is contained in:
@@ -82,6 +82,23 @@ class AppLink {
|
||||
}
|
||||
}
|
||||
|
||||
/// سوكيت الطعام — قناة مستقلة تماماً عن سوكيت الرحلات (locationSocketUrl).
|
||||
/// عملية منفصلة (food_socket.php) وبورت منفصل 4040، فانقطاع أحدهما لا يُسقط
|
||||
/// الآخر: السائق يظل يستقبل الرحلات وإن سقط سوكيت الطعام والعكس.
|
||||
/// nginx على المضيف يستمع 4040 بالشهادة ويمرّر إلى 14040 داخل دوكر.
|
||||
static String get foodSocketUrl {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
return 'https://food-syria.siromove.com:4040';
|
||||
case 'Egypt':
|
||||
return 'https://food-egypt.siromove.com:4040';
|
||||
case 'Jordan':
|
||||
return 'https://jordan-siro.intaleqapp.com:4040';
|
||||
default:
|
||||
return 'https://jordan-siro.intaleqapp.com:4040';
|
||||
}
|
||||
}
|
||||
|
||||
static String get mapSaasRoute {
|
||||
switch (currentCountry) {
|
||||
case 'Syria':
|
||||
|
||||
Reference in New Issue
Block a user