Add support for application/base64 content type

This commit is contained in:
softsimon committed 2022-11-23 18:43:37 +09:00
1 parent bcf159e6cb
commit 6131dcd9c0
1 file changed
+1 -1
+1 -1
View File
@@ -83,7 +83,7 @@ class Server {
next(); next();
}) })
.use(express.urlencoded({ extended: true })) .use(express.urlencoded({ extended: true }))
.use(express.text()) .use(express.text({ type: ['text/plain', 'application/base64'] }))
; ;
this.server = http.createServer(this.app); this.server = http.createServer(this.app);