mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Update GitHub Actions workflow for Docker image
This commit is contained in:
@@ -46,7 +46,6 @@ export async function GET() {
|
||||
};
|
||||
|
||||
await state.send();
|
||||
console.log(`[SSE] Client connected | listeners=${statsEmitter.listenerCount("update") + 1}`);
|
||||
|
||||
statsEmitter.on("update", state.send);
|
||||
statsEmitter.on("pending", state.sendPending);
|
||||
@@ -67,7 +66,6 @@ export async function GET() {
|
||||
statsEmitter.off("update", state.send);
|
||||
statsEmitter.off("pending", state.sendPending);
|
||||
clearInterval(state.keepalive);
|
||||
console.log("[SSE] Client disconnected");
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user