From 2611ded920a8345922346ed0d43e4efdd94401a1 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 27 Oct 2022 23:56:29 +0200 Subject: Began implementing middlewares, session and auth --- middlewares/formParser.js | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 middlewares/formParser.js (limited to 'middlewares/formParser.js') diff --git a/middlewares/formParser.js b/middlewares/formParser.js new file mode 100644 index 0000000..41134ac --- /dev/null +++ b/middlewares/formParser.js @@ -0,0 +1,3 @@ +import bodyParser from "body-parser"; + +export default bodyParser.urlencoded({ extended: false }); -- cgit v1.2.3