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
   // configure express-session
   app.use((req, res, next) => {
   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) {
     for (const regex of avoidSessionRoutes) {
       if (regex.test(req.path)) {
       if (regex.test(req.path)) {
         return next();
         return next();