Add bodyparser for text/* mime types to node-env (#349)

This commit is contained in:
Erwin van Eyk
2017-09-25 11:11:43 -07:00
committed by Soam Vasani
parent e587eca08f
commit 45756363bc
+1
View File
@@ -66,6 +66,7 @@ app.use(morgan('combined'))
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.json());
app.use(bodyParser.raw());
app.use(bodyParser.text({ type : "text/*" }));
app.post('/specialize', specialize);