diff --git a/index.js b/index.js index cccb872..3102250 100644 --- a/index.js +++ b/index.js @@ -9,7 +9,7 @@ const createServer = (options) => { const path = options.path || process.cwd() const app = express() - app.use(express.json()) + app.use(express.json({ type: '*/*' })) app.post('/1/indexes/:indexName/query', async (req, res) => { const { body, params: { indexName } } = req