fixup dev socket

This commit is contained in:
Daniel Bulant 2026-05-04 13:41:27 +02:00
parent 9ef6b48de0
commit ba5274e726
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View file

@ -10,6 +10,7 @@ import { partyApp } from "./routes/party";
import { partySocketApp, pubsub } from "./routes/party-socket";
import { quizRoutes } from "./routes/quiz.ts";
import { statsApp } from "./routes/stats.ts";
import { deviceSocketApp } from "./routes/device-socket.ts";
const app = new Elysia()
.use(betterAuthElysia)
@ -20,7 +21,8 @@ const app = new Elysia()
.use(partyApp)
.use(partyAnalysisApp)
.use(partySocketApp)
.use(quizRoutes)
.use(quizRoutes)
.use(deviceSocketApp)
.get("/", () => ({ ok: true })),
)
.listen(4000);

View file

@ -8,7 +8,7 @@ import {
userTopic,
} from "./party-socket";
export const partySocketApp = new Elysia().group("/dev-socket", (app) =>
export const deviceSocketApp = new Elysia().group("/dev-socket", (app) =>
app
.get("/test", () => ({ ok: 1 }))
.ws("/ws", {