We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a89c11f commit 7e3c52bCopy full SHA for 7e3c52b
zerva-http/package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "@zerva/http",
3
"type": "module",
4
- "version": "0.65.1",
+ "version": "0.65.2",
5
"description": "🌱 Zerva Express HTTP",
6
"author": {
7
"name": "Dirk Holtwick",
zerva-http/src/http.ts
@@ -118,7 +118,11 @@ export function useHttp(config?: {
118
119
if (postJson) {
120
log(`Post JSON, limit=${postLimit}`)
121
- app.use(express.json({ limit: postLimit }))
+ app.use(express.json({ limit: postLimit,
122
+ verify: (req, res, buf) => {
123
+ if (req)
124
+ (req as any).rawBody = buf
125
+ } }))
126
}
127
128
if (postText) {
0 commit comments