mirror of
https://github.com/zoriya/flood.git
synced 2026-06-01 18:47:44 +00:00
refactor(server): migrate to fastify (#707)
This commit is contained in:
@@ -13,7 +13,6 @@ class ServerEvent {
|
||||
this.res.write(`id:${id}\n`);
|
||||
this.res.write(`event:${eventType}\n`);
|
||||
this.res.write(`data:${JSON.stringify(data)}\n\n`);
|
||||
this.res.flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user