refactring & config object
This commit is contained in:
@@ -1,11 +1,21 @@
|
||||
{
|
||||
"development": {
|
||||
"username": "root",
|
||||
"password": "Zelen0ku4e",
|
||||
"database": "iot",
|
||||
"host": "127.0.0.1",
|
||||
"port":"3305",
|
||||
"port":"3306",
|
||||
"dialect": "mysql",
|
||||
"operatorsAliases": false
|
||||
"operatorsAliases": false,
|
||||
"logFile":"/dht.log"
|
||||
},
|
||||
"production": {
|
||||
"username": "iot",
|
||||
"password": "!iot_popovi",
|
||||
"database": "iot",
|
||||
"host": "localhost",
|
||||
"port":"3306",
|
||||
"dialect": "mysql",
|
||||
"operatorsAliases": false,
|
||||
"logFile":"/var/www/dht.log"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user