automatic json parsing
This commit is contained in:
parent
1422e83c9d
commit
3d21751c75
1 changed files with 2 additions and 0 deletions
2
index.js
2
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
|
||||
|
|
Loading…
Add table
Reference in a new issue