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