Adds newline to turbine stream
See gh-2637
This commit is contained in:
@@ -107,7 +107,7 @@ public class TurbineStreamConfiguration implements SmartLifecycle {
|
||||
null,
|
||||
Unpooled.copiedBuffer("message",
|
||||
StandardCharsets.UTF_8),
|
||||
Unpooled.copiedBuffer(JsonUtility.mapToJson(data),
|
||||
Unpooled.copiedBuffer(JsonUtility.mapToJson(data)+"\n",
|
||||
StandardCharsets.UTF_8))));
|
||||
}, serveSseConfigurator());
|
||||
return httpServer;
|
||||
|
||||
Reference in New Issue
Block a user