From 37b61e105dac9fd56b6a099247e6989b1d59123c Mon Sep 17 00:00:00 2001 From: kenneth Date: Fri, 24 Oct 2025 23:03:39 +0000 Subject: [PATCH] feat(backend): mount TfL routes in main app Co-authored-by: Ona --- apps/backend/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/backend/src/index.ts b/apps/backend/src/index.ts index f064536..6b68f7a 100644 --- a/apps/backend/src/index.ts +++ b/apps/backend/src/index.ts @@ -2,6 +2,7 @@ import { Hono } from "hono" import { cors } from "hono/cors" import { logger } from "hono/logger" import weather from "./weather" +import tfl from "./tfl" const app = new Hono() @@ -19,6 +20,9 @@ app.get("/api/health", (c) => { // Mount weather routes app.route("/api/weather", weather) +// Mount TfL routes +app.route("/api/tfl", tfl) + export default { port: 8000, fetch: app.fetch,