search option!

This commit is contained in:
Ashley 2022-09-17 20:45:47 +02:00
parent e6491e2a9e
commit d3a54be450

View file

@ -1,4 +1,4 @@
/*
/*
PokeTube is an Free/Libre youtube front-end. this is our main file.
@ -104,7 +104,10 @@ app.use(function(req, res, next) {
res.send(body)
});
app.get("/api/opensearch", async (req, res) => {
res.sendFile(__dirname + `/opensearch.xml`);
});
app.get("/encryption", async function (req, res) {
var v = req.query.v;