utsushiiro 6 년 전
부모
커밋
19aa97ef53
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/server/crowi/express-init.js

+ 1 - 1
src/server/crowi/express-init.js

@@ -98,7 +98,7 @@ module.exports = function(crowi, app) {
 
   // configure express-session
   app.use((req, res, next) => {
-    // test whether the route is listed in avoidSessionTroutes
+    // test whether the route is listed in avoidSessionRoutes
     for (const regex of avoidSessionRoutes) {
       if (regex.test(req.path)) {
         return next();