Cowboy handler for Mastodon WebSocket
This commit is contained in:
parent
5dcb7aecea
commit
77b5154c82
5 changed files with 141 additions and 86 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue