fix: extract createBunWebSocket to avoid circular import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
René Schober
2026-03-20 12:50:17 +01:00
parent b751fe26fb
commit 71fc14f86f
4 changed files with 7 additions and 5 deletions

View File

@@ -2,8 +2,8 @@ import { env } from "@haushaltsApp/env/server";
import { Hono } from "hono";
import { cors } from "hono/cors";
import { logger } from "hono/logger";
import { injectWebSocket } from "./ws/bun-ws";
import { registerRoutes } from "./routes";
import { injectWebSocket } from "./ws/shopping-ws";
const app = new Hono();