14 lines
485 B
Dart
14 lines
485 B
Dart
class ApiConfig {
|
|
// Captain Mobile v2 API
|
|
static const String baseUrl = 'http://69.62.126.110:3030';
|
|
static const String wsUrl = 'ws://69.62.126.110:3030';
|
|
|
|
// For local development
|
|
// static const String baseUrl = 'http://localhost:3030';
|
|
// static const String wsUrl = 'ws://localhost:3030';
|
|
|
|
static const Duration connectionTimeout = Duration(seconds: 30);
|
|
static const Duration reconnectDelay = Duration(seconds: 3);
|
|
static const int maxReconnectAttempts = 5;
|
|
}
|