File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ JWT_SECRET=YourSecret
8
8
9
9
JWT_TIMEOUT_DURATION = " 2 hours"
10
10
# You can place duration available here: https://github.com/auth0/node-jsonwebtoken#usage
11
- # Seach for "expiresIn" option on above link.
11
+ # Search for "expiresIn" option on above link.
12
12
13
13
EMAIL_SMTP_HOST = YourSMTPHost
14
14
EMAIL_SMTP_PORT = YourSMTPPort
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ var cors = require("cors");
11
11
// DB connection
12
12
var MONGODB_URL = process . env . MONGODB_URL ;
13
13
var mongoose = require ( "mongoose" ) ;
14
- mongoose . connect ( MONGODB_URL , { useNewUrlParser : true } ) . then ( ( ) => {
14
+ mongoose . connect ( MONGODB_URL , { useNewUrlParser : true , useUnifiedTopology : true } ) . then ( ( ) => {
15
15
//don't show the log when it is test
16
16
if ( process . env . NODE_ENV !== "test" ) {
17
17
console . log ( "Connected to %s" , MONGODB_URL ) ;
You can’t perform that action at this time.
0 commit comments