فهرست منبع

Мелкая поправка

Book Pauk 6 سال پیش
والد
کامیت
9551581f19
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      server/routes.js

+ 1 - 1
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) {