mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-04 22:38:43 +00:00
+1
-1
@@ -206,7 +206,7 @@ export default async function createApp(vite) {
|
|||||||
'Content-Encoding' : 'none'
|
'Content-Encoding' : 'none'
|
||||||
});
|
});
|
||||||
|
|
||||||
res.write(`data: ${JSON.stringify({ time: new Date, shareId: id, eventType: 'message' })}\n\n`);
|
res.write(`data: ${JSON.stringify({ init: Date.now().toString(), shareId: id, eventType: 'message' })}\n\n`);
|
||||||
|
|
||||||
if(!initStreamListener){
|
if(!initStreamListener){
|
||||||
initStreamListener = true;
|
initStreamListener = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user