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
pipe_through(:graphiql)
forward("/", Absinthe.Plug.GraphiQL, schema: Mobilizon.GraphQL.Schema)
forward("/", Absinthe.Plug.GraphiQL,
schema: Mobilizon.GraphQL.Schema,
interface: :playground
)
end
scope "/", Mobilizon.Web do