SSE per user

This commit is contained in:
2024-06-16 00:23:30 +02:00
parent ec7fe75216
commit 1125f86331
6 changed files with 74 additions and 61 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
<div class="chat-container mt-5" style="padding-bottom: 155px;" hx-indicator="#textarea-control">
<div class="chat-container mt-5" style="padding-bottom: 155px;" hx-indicator="#textarea-control" hx-ext="sse">
<hx hx-get="/loadChat" hx-trigger="load once" hx-swap="outerHTML"></hx>
<hx hx-get="/loadChatInput" hx-trigger="load once" hx-swap="outerHTML"></hx>
</div>