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

Commit 8838a13

Browse files
committed
GraphiQL in production too
1 parent 4dd5eff commit 8838a13

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

config/routes.rb

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
Rails.application.routes.draw do
2-
if Rails.env.development?
3-
mount GraphiQL::Rails::Engine, at: "/", graphql_path: "/graphql"
4-
end
5-
2+
mount GraphiQL::Rails::Engine, at: "/", graphql_path: "/graphql"
63
post '/graphql', to: 'graphql#execute'
74
end

0 commit comments

Comments
 (0)