From 27c96be6355c53cf1baba8d3eed2b6c48f350468 Mon Sep 17 00:00:00 2001 From: Ashley Date: Mon, 15 Aug 2022 19:41:52 +0200 Subject: [PATCH] the duck --- p/server.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/p/server.js b/p/server.js index d8172ba7..1eef1b91 100644 --- a/p/server.js +++ b/p/server.js @@ -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, () => {}); +