config: fix chat endpoint path
authorWilliam Pitcock <nenolod@dereferenced.org>
Thu, 28 Feb 2019 16:58:00 +0000 (16:58 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Thu, 28 Feb 2019 17:00:54 +0000 (17:00 +0000)
config/config.exs

index 374b4d86b6eba026d8aab99f5b6f47101543f23c..a620e74517c8f52f350e192d7ac80b2b66d46ad5 100644 (file)
@@ -94,8 +94,9 @@ config :pleroma, Pleroma.Web.Endpoint,
       {:_,
        [
          {"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
-         {"/socket/websocket", Phoenix.Endpoint.CowboyWebsocket,
-          {nil, {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
+         {"/websocket", Phoenix.Endpoint.CowboyWebSocket,
+          {Phoenix.Transports.WebSocket,
+           {Pleroma.Web.Endpoint, Pleroma.Web.UserSocket, websocket_config}}},
          {:_, Phoenix.Endpoint.Cowboy2Handler, {Pleroma.Web.Endpoint, []}}
        ]}
     ]