diff --git a/index.js b/index.js index ebf338c..0d353c1 100644 --- a/index.js +++ b/index.js @@ -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