mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-10 03:48:35 +01:00
the duck
This commit is contained in:
parent
582334d361
commit
96908b3701
1 changed files with 3 additions and 2 deletions
|
@ -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, () => {});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue