SSE to WebSocket
I needed to ping pong the content of the message because it was too long for a SSE event. I swaped to websocket instead
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
<div class="chat-container mt-5"
|
||||
style="padding-bottom: 155px"
|
||||
hx-indicator="#textarea-control"
|
||||
hx-ext="sse">
|
||||
hx-ext="ws">
|
||||
<hx hx-get="/loadChat" hx-trigger="load once" hx-swap="outerHTML"></hx>
|
||||
<hx hx-get="/loadChatInput" hx-trigger="load once" hx-swap="outerHTML" id="textarea-control"></hx>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user