mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 11:34:39 -05:00
the duck
This commit is contained in:
parent
13e30ec482
commit
27c96be635
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