Closed CocaColf closed 3 years ago
Thanks a lot for the contribution! Frontend knowledge is what I lack, and your expertise is a great complement to the project!
I expect there are many more problems with the frontend code (which I'm not aware of). So if you spot anything, don't hesitate to bring it up, either via an issue or a PR.
I noticed there is a strikethrough on “bodyParser” and the editor display "bodyParser deprecated".
Then I read the source code of
express
and found it's usedbody-parser
. Besides,express
exported theraw
function and it's equal tobody-parser
raw function.So I think we can use
express.raw
replacebodyParser.raw
, and remove thebody-parser
as dependence.