refactring & config object

This commit is contained in:
Dobromir Popov
2021-07-16 15:35:59 +03:00
parent 643c6c6b5f
commit 919d29c894
8 changed files with 1810 additions and 1665 deletions

View File

@@ -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"
}
}