Skip to content

Commit 58f7a33

Browse files
committed
reject file uploads by default
1 parent 5bf72f3 commit 58f7a33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/service/service-host.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ServiceHost {
4343

4444
this.apiApp.use(bodyParser.urlencoded({ extended: true }))
4545
this.apiApp.use(bodyParser.json())
46-
this.apiApp.use(multer())
46+
this.apiApp.use(multer().none())
4747

4848
this.apiApp.set('trust proxy', trust_proxy)
4949

0 commit comments

Comments
 (0)