Files

15 lines
340 B
Dart
Raw Permalink Normal View History

class Env {
2026-04-30 11:07:57 +08:00
static const _productionBackendUrl = 'https://api.meeyao.com';
static String get backendUrl {
final injected = const String.fromEnvironment('BACKEND_URL');
if (injected.isNotEmpty && injected != 'false') {
return injected;
}
2026-04-30 11:07:57 +08:00
return _productionBackendUrl;
}
static Future<void> init() async {}
}