|
|
@@ -188,8 +188,8 @@ router.post("/search", function(req, res) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
var query = req.body.query.toLowerCase(); |
|
|
|
|
|
|
|
//var query = req.body.query.toLowerCase(); |
|
|
|
var query = req.body.query; |
|
|
|
if (query === null || query === "null" || query.length < 1) { |
|
|
|
res.redirect("/"); |
|
|
|
return; |
|
|
|