summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rwxr-xr-xapp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 42626ff..c6e0647 100755
--- a/app.js
+++ b/app.js
@@ -47,7 +47,7 @@ app.set('hbsInstance', hbsInstance);
app.use(express.static('public'));
// Router //
-
+app.use(bodyParser.json({ type: "application/activity+json" })); // support json encoded bodies
app.use(bodyParser.urlencoded({ extended: true }));
app.use('/', routes);