iykyk_msn/mobile/lib/core/api_config.dart

9 lines
248 B
Dart

/// Backend base URL. Override at build time:
/// `flutter run --dart-define=API_BASE=http://10.0.2.2:8787`
class ApiConfig {
static const String baseUrl = String.fromEnvironment(
'API_BASE',
defaultValue: 'http://127.0.0.1:8787',
);
}