From e7df7aab03188ccc81efc9ba7e186ef397fc8684 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Fri, 22 Nov 2019 09:30:34 +0100 Subject: [PATCH] Remove deprecation warning --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 15e0b29..eea36ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -23,7 +23,7 @@ async function init() { // Start HTTP Server const app = express(); - app.use(express.urlencoded()); + app.use(express.urlencoded({extended: true})); // Process the list of routes Routes.forEach(route => {