mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Replace GraphiQL with graphql-playground
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bac2d3188c
commit
b782ca6527
1 changed files with 4 additions and 1 deletions
|
@ -156,7 +156,10 @@ defmodule Mobilizon.Web.Router do
|
||||||
scope "/graphiql" do
|
scope "/graphiql" do
|
||||||
pipe_through(:graphiql)
|
pipe_through(:graphiql)
|
||||||
|
|
||||||
forward("/", Absinthe.Plug.GraphiQL, schema: Mobilizon.GraphQL.Schema)
|
forward("/", Absinthe.Plug.GraphiQL,
|
||||||
|
schema: Mobilizon.GraphQL.Schema,
|
||||||
|
interface: :playground
|
||||||
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/", Mobilizon.Web do
|
scope "/", Mobilizon.Web do
|
||||||
|
|
Loading…
Reference in a new issue