mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-27 02:58:12 +01:00
Update server.js
This commit is contained in:
parent
6cea4504be
commit
a779778aa1
1 changed files with 3 additions and 0 deletions
|
@ -111,6 +111,9 @@ app.get("/channel", function (req, res) {
|
||||||
app.get("/domains", function (req, res) {
|
app.get("/domains", function (req, res) {
|
||||||
renderTemplate(res, req, "domains.ejs");
|
renderTemplate(res, req, "domains.ejs");
|
||||||
});
|
});
|
||||||
|
app.get("/privacy", function (req, res) {
|
||||||
|
renderTemplate(res, req, "priv.ejs");
|
||||||
|
});
|
||||||
app.get("/api/search", async (req, res) => {
|
app.get("/api/search", async (req, res) => {
|
||||||
const query = req.query.query;
|
const query = req.query.query;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue