Solian/lib/utils/services_url.dart

11 lines
280 B
Dart
Raw Permalink Normal View History

2024-04-13 11:47:31 +00:00
const serviceUrls = {
'passport': 'https://id.solsynth.dev',
'interactive': 'https://co.solsynth.dev',
2024-05-12 13:27:55 +00:00
'messaging': '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);
}