init
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
/// Hosted API. Override with --dart-define=API_BASE_URL=...
|
||||
String resolveApiBaseUrl() {
|
||||
const fromEnv = String.fromEnvironment('API_BASE_URL');
|
||||
if (fromEnv.isNotEmpty) return fromEnv;
|
||||
return 'https://snrodealer.playpoolstudios.com/api';
|
||||
}
|
||||
Reference in New Issue
Block a user