瀏覽代碼

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

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