Solian/lib/utils/services_url.dart

11 lines
311 B
Dart
Raw Normal View History

2024-04-13 11:47:31 +00:00
const serviceUrls = {
'passport': 'https://id.solsynth.dev',
'interactive': 'https://co.solsynth.dev',
'messaging': 'http://192.168.50.83:8447' // 'https://im.solsynth.dev'
2024-04-13 11:47:31 +00:00
};
Uri getRequestUri(String service, String path) {
final baseUrl = serviceUrls[service];
return Uri.parse(baseUrl! + path);
}