Add support for application/base64 content type

This commit is contained in:
softsimon 2022-11-23 18:43:37 +09:00
parent 584f443f56
commit 74dbd6cee1
No known key found for this signature in database
GPG key ID: 488D7DCFB5A430D7

View file

@ -83,7 +83,7 @@ class Server {
next();
})
.use(express.urlencoded({ extended: true }))
.use(express.text())
.use(express.text({ type: ['text/plain', 'application/base64'] }))
;
this.server = http.createServer(this.app);