mirror of
https://github.com/janishutz/fundamentals-of-webengineering.git
synced 2025-11-25 05:44:24 +00:00
[Task 3] Fix SSE
This commit is contained in:
@@ -143,7 +143,7 @@ const sendSSEData = ( event: string, data: string ) => {
|
||||
subs[i]!.response.write( `data: ${ JSON.stringify( {
|
||||
'event': event,
|
||||
'data': data
|
||||
} ) }` );
|
||||
} ) }\n\n` );
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user