feat(backend): mount TfL routes in main app

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2025-10-24 23:03:39 +00:00
parent 81660c2d7e
commit 37b61e105d

View File

@@ -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,