mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-24 18:58:39 +01:00
search option!
This commit is contained in:
parent
4c2be55dae
commit
1537f884fd
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/*
|
||||||
|
|
||||||
PokeTube is an Free/Libre youtube front-end. this is our main file.
|
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)
|
res.send(body)
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/api/opensearch", async (req, res) => {
|
||||||
|
res.sendFile(__dirname + `/opensearch.xml`);
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
app.get("/encryption", async function (req, res) {
|
app.get("/encryption", async function (req, res) {
|
||||||
var v = req.query.v;
|
var v = req.query.v;
|
||||||
|
|
Loading…
Reference in a new issue