File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const bcrypt = require('bcrypt');
33require ( 'dotenv' ) . config ( ) ;
44
55module . exports = {
6- SERVER_PORT : process . env . SERVER_PORT || 8080 ,
6+ PORT : process . env . PORT || 8080 ,
77 MONGODB_URI : process . env . MONGODB_URI || 'mongodb://localhost:27017/taskifyDB?retryWrites=false' ,
88 JWT_PRIVATE_KEY : process . env . JWT_PRIVATE_KEY || bcrypt . genSaltSync ( 20 ) ,
99 RUNNING_MODE : process . env . RUNNING_MODE || 'production' ,
Original file line number Diff line number Diff line change @@ -38,6 +38,6 @@ app.use('/api', apiRoutes);
3838
3939app . use ( express . static ( 'frontend' ) ) ;
4040
41- app . listen ( configs . SERVER_PORT , ( ) => {
42- console . log ( `Server listening on port ${ configs . SERVER_PORT } ` ) ;
41+ app . listen ( configs . PORT , ( ) => {
42+ console . log ( `Server listening on port ${ configs . PORT } ` ) ;
4343} ) ;
You can’t perform that action at this time.
0 commit comments