From 75e7860e0da70783012b85239cc239e1e924fa44 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 2 Oct 2022 22:07:20 +0200 Subject: [PATCH] instances.hjz --- server.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server.js b/server.js index 03b3ef18..ba271016 100644 --- a/server.js +++ b/server.js @@ -678,6 +678,11 @@ app.get("/api/subtitles", async (req, res) => { app.get("/api/opensearch", async (req, res) => { res.sendFile(__dirname + `/opensearch.xml`); }); + +app.get("/api/instances.json", async (req, res) => { + res.sendFile(__dirname + `/instances.json`); +}); + ///////////// REDIRECTS / DEPRACATED ///////////// app.get("/discover", async function (req, res) { @@ -711,3 +716,4 @@ app.get("*", function (req, res) { // listen app.listen("3000", () => {}); +