diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index 5c2c9f5..cb75286 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -52,7 +52,7 @@ const appRouter = new Hono() .route("/auth", authRouter) .route("/billing", billingRouter) .route("/my", myRouter) - .route("/", v1Router) + .route("/v1", v1Router) .route("/organizations", organizationRouter) .route("/public", publicRouter) .route("/storage", storageRouter) diff --git a/packages/api/src/modules/mesh/v1-router.ts b/packages/api/src/modules/mesh/v1-router.ts index 87ba374..5c1513b 100644 --- a/packages/api/src/modules/mesh/v1-router.ts +++ b/packages/api/src/modules/mesh/v1-router.ts @@ -59,7 +59,6 @@ const historyQuerySchema = z.object({ }); export const v1Router = new Hono() - .basePath("/v1") .use(enforceApiKey) // POST /v1/messages — send to a topic