Try without https

This commit is contained in:
Danny Spina 2023-06-19 12:49:33 +02:00
parent 2336b29642
commit d082022007

View File

@ -14,7 +14,7 @@ const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
app.get("/", (req, res) => {
const searchEngine = "https://html.duckduckgo.com/html/";
const searchEngine = "http://html.duckduckgo.com/html/";
let query = req.query.q as string;
if (!query) {