export const configuration = () => { return { // db config 'db.host': process.env.DB_HOST, 'db.port': process.env.DB_PORT, 'db.user_name': process.env.DB_USER, 'db.password': process.env.DB_PASSWORD, 'db.name': process.env.DB_NAME, 'db.slow_limit': Number(process.env.DB_SLOW_LIMIT) || 500, // ms 'db.ssl_enabled': process.env.DB_SSL_ENABLED, // payment config 'vnp_TmnCode': process.env.VNP_TMNCODE, 'vnp_HashSecret': process.env.VNP_HASHSECRET, 'vnp_Url': process.env.VNP_URL, 'vnp_ReturnUrl': process.env.VNP_RETURNURL, }; };