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) { 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;