Skip to content

Commit

Permalink
docs: Move the playground route before the endpoint route (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
kpedidogodonou authored Nov 24, 2024
1 parent d601a73 commit 56973d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions documentation/tutorials/getting-started-with-graphql.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ end
scope "/gql" do
pipe_through [:graphql]
forward "/",
Absinthe.Plug,
schema: Module.concat(["Helpdesk.GraphqlSchema"])
forward "/playground",
Absinthe.Plug.GraphiQL,
schema: Module.concat(["Helpdesk.GraphqlSchema"]),
interface: :playground
forward "/",
Absinthe.Plug,
schema: Module.concat(["Helpdesk.GraphqlSchema"])
end
```
Expand Down

0 comments on commit 56973d3

Please sign in to comment.