automatic json parsing

This commit is contained in:
Daniel Brahneborg 2019-08-12 12:12:21 +02:00
parent 1422e83c9d
commit 3d21751c75

View file

@ -3,6 +3,8 @@ const express = require('express')
const app = express()
const path = require('path')
app.use(express.json());
app.use('/plugin', require('./plugin'))
// catch 404 and forward to error handler