1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00

Update server.js

This commit is contained in:
Ashley 2022-03-20 00:14:42 +03:00 committed by GitHub
parent 0d9d437176
commit 4d12960572

View file

@ -111,6 +111,9 @@ app.get("/channel", function (req, res) {
app.get("/domains", function (req, res) {
renderTemplate(res, req, "domains.ejs");
});
app.get("/privacy", function (req, res) {
renderTemplate(res, req, "priv.ejs");
});
app.get("/api/search", async (req, res) => {
const query = req.query.query;