summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2019-12-11 22:13:39 -0800
committerDarius Kazemi <darius.kazemi@gmail.com>2019-12-11 22:13:39 -0800
commit821017e5337612a37179b586d5506666ab70ab77 (patch)
treeb2bfbfab6a04c1265cda82f641cc083be54267ae /app.js
parent51b42d13a370a9a79a618742c62de42c6cb666d8 (diff)
follow Undo now works
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 a8d2889..ab4eb56 100755
--- a/app.js
+++ b/app.js
@@ -45,7 +45,7 @@ app.set('view engine', 'handlebars');
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);