Restructure layout and add widget

This commit is contained in:
Dreamgineer
2025-11-12 20:52:50 -05:00 Unverified
parent b831e2f2a1
commit f2551e5d51
51 changed files with 181 additions and 121 deletions
+2 -1
View File
@@ -2,7 +2,7 @@ import { sse } from "@/lib/utils";
const VERSION = crypto.randomUUID();
export function GET() {
export function GET({ signal }: Request) {
sse.publish(VERSION, {
topic: "active",
event: "version",
@@ -16,5 +16,6 @@ export function GET() {
onDisconnect() {
sse.publish(sse.count("active"), { topic: "active", event: "count" });
},
signal,
});
}