소스 검색

Removed unnecessary code

Taichi Masuyama 4 년 전
부모
커밋
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
     }