mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 22:17:58 +01:00
Update server.js
This commit is contained in:
parent
0d9d437176
commit
4d12960572
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