Initial commit with Flutter and Node.js code
This commit is contained in:
8
whatsapp_app/lib/config/app_config.dart
Normal file
8
whatsapp_app/lib/config/app_config.dart
Normal file
@@ -0,0 +1,8 @@
|
||||
class AppConfig {
|
||||
static const String serverHost = "mywhatsappapp.interlap.com";
|
||||
static const int serverPort = 3025;
|
||||
static const String wsUrl = "ws://$serverHost:$serverPort";
|
||||
|
||||
static const int maxReconnectAttempts = 10;
|
||||
static const Duration reconnectDelay = Duration(seconds: 3);
|
||||
}
|
||||
Reference in New Issue
Block a user