mirror of
https://codeberg.org/ashley/poke.git
synced 2024-12-01 10:27:22 +01:00
instances.hjz
This commit is contained in:
parent
f895b23b2c
commit
3e4b677be2
1 changed files with 6 additions and 0 deletions
|
@ -678,6 +678,11 @@ app.get("/api/subtitles", async (req, res) => {
|
||||||
app.get("/api/opensearch", async (req, res) => {
|
app.get("/api/opensearch", async (req, res) => {
|
||||||
res.sendFile(__dirname + `/opensearch.xml`);
|
res.sendFile(__dirname + `/opensearch.xml`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
app.get("/api/instances.json", async (req, res) => {
|
||||||
|
res.sendFile(__dirname + `/instances.json`);
|
||||||
|
});
|
||||||
|
|
||||||
///////////// REDIRECTS / DEPRACATED /////////////
|
///////////// REDIRECTS / DEPRACATED /////////////
|
||||||
|
|
||||||
app.get("/discover", async function (req, res) {
|
app.get("/discover", async function (req, res) {
|
||||||
|
@ -711,3 +716,4 @@ app.get("*", function (req, res) {
|
||||||
// listen
|
// listen
|
||||||
|
|
||||||
app.listen("3000", () => {});
|
app.listen("3000", () => {});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue