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 0869e12 commit 38868e9Copy full SHA for 38868e9
src/server/app.js
@@ -39,10 +39,12 @@ module.exports = (sequelize) => {
39
app.use(flash());
40
app.use("/discordAuth", discordAuthRoute);
41
app.use("/join", discordJoinRoute);
42
- app.use("/webhooks", webhookProxyRoute);
43
app.use("/authenticate_faculty", facultyAuthRoute);
44
app.use("/metrics", metricsRoute);
45
+ app.use(express.json());
46
+ app.use("/webhooks", webhookProxyRoute);
47
+
48
app.use("*", defaultRouteErrorHandler);
49
50
return app;
0 commit comments