Skip to content

Commit

Permalink
fix: add content type parser for multipart/form-data
Browse files Browse the repository at this point in the history
BREAKING CHANGE: no longer supports the content type `multipart`.
  • Loading branch information
wkillerud committed Nov 11, 2024
1 parent 0bacbf3 commit b629f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const EikService = class EikService {
req.raw[_multipart] = true;
cb();
}
app.addContentTypeParser("multipart", setMultipart);
app.addContentTypeParser("multipart/form-data", setMultipart);

// Compression
await app.register(compression, {
Expand Down

0 comments on commit b629f76

Please sign in to comment.