Skip to content

Commit 698aa21

Browse files
Update server.js
1 parent 78288bc commit 698aa21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/server.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ passport.use(jwtStrategy);
3737
app.use(morgan('combined')); //allows morgan to intercept and alog all http requests to console
3838
app.use(express.json()); // Required so AJAX request JSON data payload can be parsed and saved into request.body
3939
app.use(express.static('./public'));
40-
app.use(express.urlencoded());
40+
app.use(express.urlencoded({ extended: true }));
4141

4242
//ROUTER SETUP
4343
app.use('/api/auth', authRouter);
@@ -108,4 +108,4 @@ function stopServer() {
108108
}
109109
});
110110
}));
111-
}
111+
}

0 commit comments

Comments
 (0)