From b782ca6527641ee0da8470717d294b42190a971f Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 28 Jun 2021 11:57:27 +0200 Subject: [PATCH] Replace GraphiQL with graphql-playground Signed-off-by: Thomas Citharel --- lib/web/router.ex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/web/router.ex b/lib/web/router.ex index 4edc0a518..915ac241e 100644 --- a/lib/web/router.ex +++ b/lib/web/router.ex @@ -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