maybe this helps?
This commit is contained in:
@@ -21,8 +21,6 @@ export async function sseRoutes(
|
|||||||
sse: true,
|
sse: true,
|
||||||
},
|
},
|
||||||
async (_request, reply) => {
|
async (_request, reply) => {
|
||||||
reply.sse.keepAlive();
|
|
||||||
|
|
||||||
const clientId = randomUUID();
|
const clientId = randomUUID();
|
||||||
const sendEvent = (event: SseEvent) => {
|
const sendEvent = (event: SseEvent) => {
|
||||||
reply.sse.send({
|
reply.sse.send({
|
||||||
|
|||||||
Reference in New Issue
Block a user