Explorar o código

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

Book Pauk %!s(int64=6) %!d(string=hai) anos
pai
achega
9551581f19
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {