Add admin interface to manage instances subscriptions
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -3,6 +3,7 @@ defmodule MobilizonWeb.Endpoint do
|
||||
Endpoint for Mobilizon app
|
||||
"""
|
||||
use Phoenix.Endpoint, otp_app: :mobilizon
|
||||
use Absinthe.Phoenix.Endpoint
|
||||
|
||||
# For e2e tests
|
||||
if Application.get_env(:mobilizon, :sql_sandbox) do
|
||||
@@ -13,6 +14,11 @@ defmodule MobilizonWeb.Endpoint do
|
||||
)
|
||||
end
|
||||
|
||||
socket("/graphql_socket", MobilizonWeb.GraphQLSocket,
|
||||
websocket: true,
|
||||
longpoll: false
|
||||
)
|
||||
|
||||
plug(MobilizonWeb.Plugs.UploadedMedia)
|
||||
|
||||
# Serve at "/" the static files from "priv/static" directory.
|
||||
|
||||
Reference in New Issue
Block a user