summaryrefslogtreecommitdiff
path: root/middlewares/formParser.js
diff options
context:
space:
mode:
Diffstat (limited to 'middlewares/formParser.js')
-rw-r--r--middlewares/formParser.js3
1 files changed, 3 insertions, 0 deletions
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 });