Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit dac4a54

Browse files
committed
GraphiQL on root
1 parent 2c57d4c commit dac4a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/routes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Rails.application.routes.draw do
22
if Rails.env.development?
3-
mount GraphiQL::Rails::Engine, at: "/graphiql", graphql_path: "/graphql"
3+
mount GraphiQL::Rails::Engine, at: "/", graphql_path: "/graphql"
44
end
55

66
post '/graphql', to: 'graphql#execute'

0 commit comments

Comments
 (0)