Cowboy handler for Mastodon WebSocket

This commit is contained in:
href 2018-12-17 14:39:59 +01:00
commit 77b5154c82
No known key found for this signature in database
GPG key ID: EE8296C1A152C325
5 changed files with 141 additions and 86 deletions

View file

@ -3,8 +3,6 @@ defmodule Pleroma.Web.Endpoint do
socket("/socket", Pleroma.Web.UserSocket)
socket("/api/v1", Pleroma.Web.MastodonAPI.MastodonSocket, websocket: [path: "/streaming"])
# Serve at "/" the static files from "priv/static" directory.
#
# You should set gzip to true if you are running phoenix.digest