소스 검색

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

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