Standardize property names

This commit is contained in:
G.Ambatte
2026-10-07 00:08:55 +13:00
parent 885feb31b0
commit d617414612
+1 -1
View File
@@ -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;