Adds newline to turbine stream

See gh-2637
parent 7d2a4b15
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment