From 423b2ddface115e1c9f03f30f3be1c9cb1123e62 Mon Sep 17 00:00:00 2001 From: Joel Abshier Date: Mon, 4 Oct 2021 23:02:33 -0500 Subject: [PATCH] Add regular forward --- lib/gql_preferences_web/router.ex | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/gql_preferences_web/router.ex b/lib/gql_preferences_web/router.ex index c09dbdb..d1129fd 100644 --- a/lib/gql_preferences_web/router.ex +++ b/lib/gql_preferences_web/router.ex @@ -22,9 +22,7 @@ defmodule UserPreferencesWeb.Router do socket: UserPreferencesWeb.UserSocket, interface: :simple - # forward "/", Absinthe.Plug.GraphiQL, - # schema: UserPreferencesWeb.Schema, - # socket: UserPreferencesWeb.UserSocket + forward "/", Absinthe.Plug, schema: UserPreferencesWeb.Schema end # Other scopes may use custom stacks.