update config
This commit is contained in:
@ -25,7 +25,8 @@
|
|||||||
"port": "5432",
|
"port": "5432",
|
||||||
"username": "postgres",
|
"username": "postgres",
|
||||||
"password": "123",
|
"password": "123",
|
||||||
"database": "bri_erp"
|
"database": "bri_erp",
|
||||||
|
"logging": true
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"refresh_token_lifetime_day": 30,
|
"refresh_token_lifetime_day": 30,
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
"server": {
|
"server": {
|
||||||
"port": "4001",
|
"port": "4001",
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"host_swagger": "https://brilianapps.shiblysolution.id/api/u",
|
"host_swagger": "https://brilianapps.britimorleste.tl/test/u",
|
||||||
"max_body": "50mb",
|
"max_body": "50mb",
|
||||||
"max_upload": 104857600,
|
"max_upload": 104857600,
|
||||||
"morgan": "combined",
|
"morgan": "combined",
|
||||||
@ -25,12 +25,13 @@
|
|||||||
"port": "5432",
|
"port": "5432",
|
||||||
"username": "bri_production",
|
"username": "bri_production",
|
||||||
"password": "44jTPj54%6<£",
|
"password": "44jTPj54%6<£",
|
||||||
"database": "bri_erp_production"
|
"database": "bri_erp_production",
|
||||||
|
"logging": false
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"refresh_token_lifetime_day": 30,
|
"refresh_token_lifetime_day": 30,
|
||||||
"access_token_lifetime": 86400,
|
"access_token_lifetime": 86400,
|
||||||
"reset_password_url": "https://brilianapps.shiblysolution.id/ukln/auth/reset-password/"
|
"reset_password_url": "https://brilianapps.britimorleste.tl/ukln/auth/reset-password/"
|
||||||
},
|
},
|
||||||
"service": {
|
"service": {
|
||||||
"notification": "http://127.0.0.1:4008/"
|
"notification": "http://127.0.0.1:4008/"
|
||||||
|
|||||||
@ -25,7 +25,8 @@
|
|||||||
"port": "5432",
|
"port": "5432",
|
||||||
"username": "bri_staging",
|
"username": "bri_staging",
|
||||||
"password": "fK*#o>1W2&6f",
|
"password": "fK*#o>1W2&6f",
|
||||||
"database": "bri_erp_staging"
|
"database": "bri_erp_staging",
|
||||||
|
"logging": true
|
||||||
},
|
},
|
||||||
"auth": {
|
"auth": {
|
||||||
"refresh_token_lifetime_day": 1,
|
"refresh_token_lifetime_day": 1,
|
||||||
|
|||||||
@ -19,7 +19,7 @@ export class OrmHelper {
|
|||||||
password: String(config.get("database.password")),
|
password: String(config.get("database.password")),
|
||||||
database: String(config.get("database.database")),
|
database: String(config.get("database.database")),
|
||||||
synchronize: true,
|
synchronize: true,
|
||||||
logging: true,
|
logging: config.get('database.logging'),
|
||||||
entities: [User, UserRole, UserActivity, UserRefreshToken, Menu, Application],
|
entities: [User, UserRole, UserActivity, UserRefreshToken, Menu, Application],
|
||||||
subscribers: [],
|
subscribers: [],
|
||||||
migrations: [],
|
migrations: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user