change scan

This commit is contained in:
b.razafimandimbihery 2025-06-28 23:43:38 +03:00
parent cb59287bfd
commit 551831df74

View File

@ -1,8 +1,8 @@
// Config/database_config.dart - Version améliorée
class DatabaseConfig {
static const String host = '10.0.2.2';
// static const String host = '10.0.2.2';
//static const String host = '172.20.10.5';
// static const String host = 'localhost';
static const String host = 'localhost';
static const int port = 3306;
static const String username = 'root';
static const String? password = null;
@ -19,7 +19,7 @@ class DatabaseConfig {
static const int maxConnections = 10;
static const int minConnections = 2;
static bool get isDevelopment => true;
static bool get isDevelopment => false;
static Map<String, dynamic> getConfig() {
if (isDevelopment) {