revert
This commit is contained in:
parent
805e5729e1
commit
60651361e2
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ func ChatRoom(ctx *h.RequestContext) *h.Page {
|
|||
h.Div(
|
||||
h.TriggerChildren(),
|
||||
|
||||
h.Attribute("sse-connect", fmt.Sprintf("/ws/chat/%s", roomId)),
|
||||
h.Attribute("sse-connect", fmt.Sprintf("/sse/chat/%s", roomId)),
|
||||
|
||||
h.HxOnSseOpen(
|
||||
js.ConsoleLog("Connected to chat room"),
|
||||
|
|
|
|||
Loading…
Reference in a new issue