diff --git a/src/app/api/[[...route]]/route.ts b/src/app/api/[[...route]]/route.ts index c77ed7d..600d2b0 100644 --- a/src/app/api/[[...route]]/route.ts +++ b/src/app/api/[[...route]]/route.ts @@ -1,6 +1,7 @@ import { Hono } from "hono"; import { handle } from "hono/vercel"; import auth from "@/features/auth/server/route"; +import workspaces from "@/features/workspaces/server/route"; const app = new Hono().basePath("/api"); @@ -9,7 +10,7 @@ app.get("/health", (c) => { }); // eslint-disable-next-line @typescript-eslint/no-unused-vars -const routes = app.route("/auth", auth); +const routes = app.route("/auth", auth).route("/workspaces", workspaces); export const GET = handle(app); export const POST = handle(app);