change scan
This commit is contained in:
parent
cb59287bfd
commit
551831df74
@ -1,8 +1,8 @@
|
|||||||
// Config/database_config.dart - Version améliorée
|
// Config/database_config.dart - Version améliorée
|
||||||
class DatabaseConfig {
|
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 = '172.20.10.5';
|
||||||
// static const String host = 'localhost';
|
static const String host = 'localhost';
|
||||||
static const int port = 3306;
|
static const int port = 3306;
|
||||||
static const String username = 'root';
|
static const String username = 'root';
|
||||||
static const String? password = null;
|
static const String? password = null;
|
||||||
@ -19,7 +19,7 @@ class DatabaseConfig {
|
|||||||
static const int maxConnections = 10;
|
static const int maxConnections = 10;
|
||||||
static const int minConnections = 2;
|
static const int minConnections = 2;
|
||||||
|
|
||||||
static bool get isDevelopment => true;
|
static bool get isDevelopment => false;
|
||||||
|
|
||||||
static Map<String, dynamic> getConfig() {
|
static Map<String, dynamic> getConfig() {
|
||||||
if (isDevelopment) {
|
if (isDevelopment) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user