Update server.js

This commit is contained in:
Ashley 2022-03-20 00:14:42 +03:00 committed by GitHub
parent 6cea4504be
commit a779778aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;