Solian/lib/utils/services_url.dart
2024-05-12 21:27:55 +08:00

11 lines
280 B
Dart

const serviceUrls = {
'passport': 'https://id.solsynth.dev',
'interactive': 'https://co.solsynth.dev',
'messaging': 'https://im.solsynth.dev'
};
Uri getRequestUri(String service, String path) {
final baseUrl = serviceUrls[service];
return Uri.parse(baseUrl! + path);
}