From 60651361e23b3f256bec1b275590c8cc4f268fd8 Mon Sep 17 00:00:00 2001 From: maddalax Date: Fri, 4 Oct 2024 11:22:48 -0500 Subject: [PATCH] revert --- examples/chat/pages/chat.$id.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/chat/pages/chat.$id.go b/examples/chat/pages/chat.$id.go index 3bece62..92b1066 100644 --- a/examples/chat/pages/chat.$id.go +++ b/examples/chat/pages/chat.$id.go @@ -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"),