This commit is contained in:
Ashley 2022-08-15 19:41:52 +02:00
parent 13e30ec482
commit 27c96be635

View file

@ -1,4 +1,4 @@
const fs = require("fs");
const fs = require("fs");
const express = require("express");
const fetch = require("node-fetch");
const htmlParser = require("node-html-parser");
@ -43,7 +43,7 @@ const listener = (req, res) => {
Proxy(req, res);
};
app.get("/", (req, res) => res.redirect(`/https://www.google.com/`));
app.get("/", (req, res) => res.redirect(`/https://html.duckduckgo.com/html`));
app.get("/api/lyrics", async (req, res) => {
@ -58,3 +58,4 @@ app.all("/*", listener);
app.listen(3000, () => {});