Replace bcrypt with bcryptjs / move env to config
This commit is contained in:
6
config/config.js
Normal file
6
config/config.js
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = {
|
||||
jwt_secret: process.env.JWT_SECRET,
|
||||
port: process.env.PORT || 3001,
|
||||
db_url: process.env.DATABASE_URL,
|
||||
environment: process.env.NODE_ENV,
|
||||
};
|
||||
Reference in New Issue
Block a user