Fix: sse changes
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
{{define "main"}}
|
||||
<div hx-ext="sse" sse-connect="/sub/sse" sse-swap="test">
|
||||
Contents of this box will be updated in real time
|
||||
with every SSE message received from the chatroom.
|
||||
</div>
|
||||
<!-- user has no username -> login form -->
|
||||
{{ if not . }}
|
||||
{{template "login"}}
|
||||
|
Reference in New Issue
Block a user