Taichi Masuyama 4 лет назад
Родитель
Сommit
23911b4c5f
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      packages/app/src/server/routes/page.js

+ 0 - 2
packages/app/src/server/routes/page.js

@@ -300,7 +300,6 @@ module.exports = function(crowi, app) {
     }
 
     if (page.isEmpty) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       return next();
     }
@@ -365,7 +364,6 @@ module.exports = function(crowi, app) {
 
     // empty page
     if (page.isEmpty) {
-      req.isEmpty = true;
       req.pagePath = page.path;
       return next(); // to page.notFound
     }