mirror of
https://codeberg.org/ashley/poke
synced 2025-04-05 09:07:59 +00:00
lint code :3
This commit is contained in:
parent
a0cebd409c
commit
bc9643c5e7
@ -127,7 +127,7 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (query && query.startsWith("!") && query.length > 2) {
|
if (query && query.startsWith("!") && query.length > 2) {
|
||||||
res.redirect("https://lite.duckduckgo.com/lite/?q=" + query);
|
res.redirect("https://lite.duckduckgo.com/lite/?q=" + query);
|
||||||
@ -229,7 +229,6 @@ module.exports = function (app, config, renderTemplate) {
|
|||||||
let continuation = req.query.continuation || "";
|
let continuation = req.query.continuation || "";
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const results = web.web;
|
const results = web.web;
|
||||||
|
|
||||||
renderTemplate(res, req, "search-web.ejs", {
|
renderTemplate(res, req, "search-web.ejs", {
|
||||||
|
Loading…
Reference in New Issue
Block a user