Replace GraphiQL with graphql-playground
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
bac2d3188c
commit
b782ca6527
|
@ -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