Explorar el Código

GC-1183: index all pages except for redirect

* BugFix
Yuki Takei hace 7 años
padre
commit
6881aed64f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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: