From 9551581f19834da04e4eefba8143b1ac5a118bfa Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 2 Jan 2019 19:14:52 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=B0=D1=8F=20=D0=BF?= =?UTF-8?q?=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes.js b/server/routes.js index 099ad1b1..3f7cd911 100644 --- a/server/routes.js +++ b/server/routes.js @@ -8,7 +8,7 @@ function initRoutes(app, connPool, config) { ['POST', '/api/config', misc, 'getConfig', {}], ]; - for (route of routes) { + for (let route of routes) { const [httpMethod, path, controller, handler, options] = route; const callback = async function(req, res) {