소스 검색

GC-1183: index all pages except for redirect

* BugFix
Yuki Takei 7 년 전
부모
커밋
6881aed64f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/server/util/search.js

+ 1 - 1
src/server/util/search.js

@@ -92,7 +92,7 @@ SearchClient.prototype.registerUpdateEvent = function() {
 };
 
 SearchClient.prototype.shouldIndexed = function(page) {
-  return (page.redirectTo !== null);
+  return (page.redirectTo == null);
 };
 
 // BONSAI_URL is following format: