config: fix chat endpoint path
This commit is contained in:
parent
28b4093233
commit
6b2a1ad1c8
1 changed files with 3 additions and 2 deletions
|
@ -94,8 +94,9 @@ config :pleroma, Pleroma.Web.Endpoint,
|
||||||
{:_,
|
{:_,
|
||||||
[
|
[
|
||||||
{"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
|
{"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
|
||||||
{"/socket/websocket", Phoenix.Endpoint.CowboyWebsocket,
|
{"/websocket", Phoenix.Endpoint.CowboyWebSocket,
|
||||||
{nil, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
|
{Phoenix.Transports.WebSocket,
|
||||||
|
{Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
|
||||||
{:_, Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}
|
{:_, Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}
|
||||||
]}
|
]}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue