summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2019-04-23 14:34:40 -0400
committerFranklin Wei <me@fwei.tk>2019-04-23 14:34:40 -0400
commitb62bb07c6b5b4f2fb62cd12673ced9e1356fd9ec (patch)
treeac0302d026200aae1209c6c0c0a40383d47f6aa1
parentef96fbdf41cd75c15cff315ef8b23dbf4b80b317 (diff)
downloadtennisdraw-b62bb07c6b5b4f2fb62cd12673ced9e1356fd9ec.zip
tennisdraw-b62bb07c6b5b4f2fb62cd12673ced9e1356fd9ec.tar.gz
tennisdraw-b62bb07c6b5b4f2fb62cd12673ced9e1356fd9ec.tar.bz2
tennisdraw-b62bb07c6b5b4f2fb62cd12673ced9e1356fd9ec.tar.xz
Fix warning
-rw-r--r--server.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.js b/server.js
index 84a6363..b1fdaa4 100644
--- a/server.js
+++ b/server.js
@@ -6,7 +6,7 @@ const port = 8080;
app.get('/', (req, res) => res.send(''))
// Parse URL-encoded bodies (as sent by HTML forms)
-app.use(express.urlencoded());
+app.use(express.urlencoded({extended: true}));
// Parse JSON bodies (as sent by API clients)
app.use(express.json());