We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78288bc commit 698aa21Copy full SHA for 698aa21
app/server.js
@@ -37,7 +37,7 @@ passport.use(jwtStrategy);
37
app.use(morgan('combined')); //allows morgan to intercept and alog all http requests to console
38
app.use(express.json()); // Required so AJAX request JSON data payload can be parsed and saved into request.body
39
app.use(express.static('./public'));
40
-app.use(express.urlencoded());
+app.use(express.urlencoded({ extended: true }));
41
42
//ROUTER SETUP
43
app.use('/api/auth', authRouter);
@@ -108,4 +108,4 @@ function stopServer() {
108
}
109
});
110
}));
111
-}
+}
0 commit comments