projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b4093
)
config: fix chat endpoint path
author
William Pitcock
<nenolod@dereferenced.org>
Thu, 28 Feb 2019 16:58:00 +0000
(16:58 +0000)
committer
William Pitcock
<nenolod@dereferenced.org>
Thu, 28 Feb 2019 17:00:54 +0000
(17:00 +0000)
config/config.exs
patch
|
blob
|
history
diff --git
a/config/config.exs
b/config/config.exs
index 374b4d86b6eba026d8aab99f5b6f47101543f23c..a620e74517c8f52f350e192d7ac80b2b66d46ad5 100644
(file)
--- a/
config/config.exs
+++ b/
config/config.exs
@@
-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, []}}
]}
]