Skip to content

Commit 9371b3c

Browse files
committed
begin adding websocket support
Signed-off-by: Andrew Thornton <[email protected]>
1 parent 692707f commit 9371b3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/web/web.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ func RegisterRoutes(m *web.Route) {
365365
}, reqSignOut)
366366

367367
m.Any("/user/events", routing.MarkLongPolling, events.Events)
368+
m.Any("/user/websocket", routing.MarkLongPolling, events.Websocket)
368369

369370
m.Group("/login/oauth", func() {
370371
m.Get("/authorize", bindIgnErr(forms.AuthorizationForm{}), auth.AuthorizeOAuth)

0 commit comments

Comments
 (0)