⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
fix(api): gzip API responses to shrink large board payloads
Kampeb1a4ac953ac8
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex af4f99048..246423bb5 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -9,6 +9,7 @@ import type { Session, User } from "better-auth/types";import { eq, sql } from "drizzle-orm";import { migrate } from "drizzle-orm/node-postgres/migrator";import { Hono } from "hono";+import { compress } from "hono/compress";import { cors } from "hono/cors";import { HTTPException } from "hono/http-exception";import {@@ -204,6 +205,11 @@ export function createApp() {}),);+ // Large boards return multi-MB JSON (board/task list responses embed+ // labels and external links per task); gzip cuts that by 85-95% since+ // JSON with repeated keys compresses extremely well.+ app.use(compress());+const api = new Hono<ApiVariables>();api.get("/health", (c) => {