瀏覽代碼

remove comment

yohei0125 4 年之前
父節點
當前提交
2c3e76db93
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/app/src/server/routes/page.js

+ 1 - 1
packages/app/src/server/routes/page.js

@@ -647,7 +647,7 @@ module.exports = function(crowi, app) {
 
     // Processing of nonEmptyPage is finished by the time this code is read
     // If any pages exist then they should be empty
-    const emptyPage = pages[0]; // null or undefined
+    const emptyPage = pages[0];
     if (emptyPage != null) {
       req.pageId = emptyPage._id;
       return _notFound(req, res);