Add bodyparser for text/* mime types to node-env (#349)
This commit is contained in:
committed by
Soam Vasani
parent
e587eca08f
commit
45756363bc
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user