Removed debugging outputs

pull/20/head^2
Slatian 2022-11-24 18:21:25 +01:00 zatwierdzone przez Alexander Cobleigh
rodzic b431a15441
commit b2a9947fb9
2 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -289,9 +289,6 @@ func SearchWords(db *sql.DB, words []string, searchByScore bool, domain []string
LIMIT 15
`, strings.Join(wordlist, " OR "), strings.Join(domains, " OR "), strings.Join(nodomains, " AND "), strings.Join(languages, " OR "), orderType)
fmt.Println(words)
fmt.Println(query)
stmt, err := db.Prepare(query)
util.Check(err)
defer stmt.Close()

Wyświetl plik

@ -87,7 +87,6 @@ func (h RequestHandler) searchRoute(res http.ResponseWriter, req *http.Request)
}
var newQueryFields []string;
fmt.Println("Query Fields:", queryFields)
for _, word := range queryFields {
// This could be more efficient by splitting arrays, but I'm going with the more readable version for now
if strings.HasPrefix(word, "site:") {