⚡ 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: move WebSocket endpoint under API path. For new single docker image
tiran133d65c242a83ef
diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex a4811302c..989969185 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -511,9 +511,7 @@ export function createApp() {),);- app.route("/api", api);-- app.get(+ api.get("/ws/:projectId",upgradeWebSocket(async (c) => {const projectId = c.req.param("projectId");@@ -563,6 +561,8 @@ export function createApp() {}),);+ app.route("/api", api);+return {app,api,diff --git a/apps/web/src/hooks/use-project-websocket.ts b/apps/web/src/hooks/use-project-websocket.tsindex f16a7cf1b..90f4f1fb0 100644--- a/apps/web/src/hooks/use-project-websocket.ts+++ b/apps/web/src/hooks/use-project-websocket.ts@@ -8,7 +8,7 @@ function getWsUrl(projectId: string) {import.meta.env.VITE_API_URL || "http://localhost:1337").replace(/\/+$/, "");const wsBase = base.replace(/^http/, "ws");- return `${wsBase}/ws/${encodeURIComponent(projectId)}?windowId=${encodeURIComponent(windowId)}`;+ return `${wsBase}/api/ws/${encodeURIComponent(projectId)}?windowId=${encodeURIComponent(windowId)}`;}const MAX_RETRIES = 5;