feat: support legacy routes

Summary:

Test Plan:
This commit is contained in:
2024-06-02 06:46:22 -04:00
parent d2645028c5
commit 79fd51951b
4 changed files with 207 additions and 0 deletions

View File

@@ -23,6 +23,13 @@ app.route(
"/search",
await import("~/controllers/search").then((controller) => controller.default),
);
// TODO: Remove this route once v2 is ready
app.route(
"/download",
await import("~/controllers/episodes/downloadLegacy").then(
(controller) => controller.default,
),
);
// The OpenAPI documentation will be available at /doc
app.doc("/openapi.json", {