diff --git a/index.js b/index.js index 0d353c1..2570ece 100644 --- a/index.js +++ b/index.js @@ -1,10 +1,7 @@ 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 @@ -12,4 +9,3 @@ const createError = require('http-errors') app.use(function(req, res, next) { next(createError(404)) }) module.exports = app -