Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dubuqingfeng authored Mar 5, 2021
1 parent f255a37 commit f1aa86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ app.use(morgan('dev'));
app.use(express.json());
app.use(express.urlencoded({ extended: false }));
app.use(cookieParser());
app.use(bodyParser({limit: '50mb'}));
app.use(bodyParser.json({limit: '50mb'}));

app.use(function(req, res, next) {
res.header("Access-Control-Allow-Origin", "*");
Expand Down

0 comments on commit f1aa86b

Please sign in to comment.