summaryrefslogtreecommitdiff
path: root/config/config.exs
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-02-13 19:21:45 -0500
committerMark Felder <feld@feld.me>2024-02-14 15:27:07 -0500
commit64ad451a7b8a2ac89079a1bc32680e9cf08ef24e (patch)
tree3506b63126432fdcf26d99e52ae537ff433b9f79 /config/config.exs
parent79d69ce72a4a922d1be8f3aae36d5fff3089fd1c (diff)
downloadpleroma-64ad451a7b8a2ac89079a1bc32680e9cf08ef24e.tar.gz
pleroma-64ad451a7b8a2ac89079a1bc32680e9cf08ef24e.zip
Websocket refactor to use Phoenix.Socket.Transport
This will make us compatible with Cowboy and Bandit
Diffstat (limited to 'config/config.exs')
-rw-r--r--config/config.exs9
1 files changed, 1 insertions, 8 deletions
diff --git a/config/config.exs b/config/config.exs
index bb17ab145..435387a64 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -114,14 +114,7 @@ config :pleroma, :uri_schemes,
config :pleroma, Pleroma.Web.Endpoint,
url: [host: "localhost"],
http: [
- ip: {127, 0, 0, 1},
- dispatch: [
- {:_,
- [
- {"/api/v1/streaming", Pleroma.Web.MastodonAPI.WebsocketHandler, []},
- {:_, Plug.Cowboy.Handler, {Pleroma.Web.Endpoint, []}}
- ]}
- ]
+ ip: {127, 0, 0, 1}
],
protocol: "https",
secret_key_base: "aK4Abxf29xU9TTDKre9coZPUgevcVCFQJe/5xP/7Lt4BEif6idBIbjupVbOrbKxl",