Replace GraphiQL with graphql-playground

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-28 11:57:27 +02:00
parent bac2d3188c
commit b782ca6527
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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