From 96908b370184a18e7703529e7dad8654836939a5 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, () => {}); +