mirror of
https://github.com/cupcakearmy/blaze.git
synced 2024-12-23 00:36:26 +00:00
Try without https
This commit is contained in:
parent
2336b29642
commit
d082022007
2
index.ts
2
index.ts
@ -14,7 +14,7 @@ const __filename = fileURLToPath(import.meta.url);
|
|||||||
const __dirname = path.dirname(__filename);
|
const __dirname = path.dirname(__filename);
|
||||||
|
|
||||||
app.get("/", (req, res) => {
|
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;
|
let query = req.query.q as string;
|
||||||
|
|
||||||
if (!query) {
|
if (!query) {
|
||||||
|
Loading…
Reference in New Issue
Block a user