summaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorRaphael <raphaelkabo@gmail.com>2020-01-21 11:59:48 +0000
committerGitHub <noreply@github.com>2020-01-21 11:59:48 +0000
commit481217f28c4b69bdeaf1d11a5d5156f53a6c853b (patch)
tree8e509ad19d0ec83fd33518cc0b73afd99591854a /app.js
parent547054b9c1dfd9c49594609fdda78fac3c11938a (diff)
parent2fafa00849b627a6996243e4070325b8efb05428 (diff)
Merge pull request #30 from dariusk/newmaster
Federating gathio
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);