refactor: move non-public routes to internal subfolder

"non-public" in this case means only used for event handling (and not supposed to be called by clients)
This commit is contained in:
2024-09-08 14:35:00 -05:00
parent ff5e81f5d1
commit d4a5a4fbb1
5 changed files with 16 additions and 10 deletions

View File

@@ -34,14 +34,8 @@ app.route(
await import("~/controllers/token").then((controller) => controller.default),
);
app.route(
"/upcoming-titles",
await import("~/controllers/upcoming-titles").then(
(controller) => controller.default,
),
);
app.route(
"/new-episode",
await import("~/controllers/new-episode").then(
"/internal",
await import("~/controllers/internal").then(
(controller) => controller.default,
),
);