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,