Rip out fedsockets from the release branch
This commit is contained in:
parent
274c8e6fab
commit
fb0e340363
4 changed files with 3 additions and 25 deletions
|
|
@ -130,7 +130,9 @@ config :pleroma, Pleroma.Web.Endpoint,
|
|||
dispatch: [
|
||||
{:_,
|
||||
[
|
||||
{"/api/fedsocket/v1", Pleroma.Web.FedSockets.IncomingHandler, []},
|
||||
# FedSockets are commented out of the dispatch table on stable because they can't even
|
||||
# fail properly when they are disabled. They will hang the connection instead of returning a 404.
|
||||
# {"/api/fedsocket/v1", Pleroma.Web.FedSockets.IncomingHandler, []},
|
||||
{"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
|
||||
{"/websocket", Phoenix.Endpoint.CowboyWebSocket,
|
||||
{Phoenix.Transports.WebSocket,
|
||||
|
|
|
|||
|
|
@ -273,19 +273,6 @@ config :pleroma, :config_description, [
|
|||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: :fed_sockets,
|
||||
type: :group,
|
||||
description: "Websocket based federation",
|
||||
children: [
|
||||
%{
|
||||
key: :enabled,
|
||||
type: :boolean,
|
||||
description: "Enable FedSockets"
|
||||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: Pleroma.Emails.Mailer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue