Skip to content

Commit

Permalink
use different route for graphql. datacite/volpino#78
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Oct 3, 2019
1 parent 8b7d396 commit dc2d85a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
post "/graphql", to: "graphql#execute"
get "/graphql", to: "index#method_not_allowed"
post "/dois/graphql", to: "graphql#execute"
get "/dois/graphql", to: "index#method_not_allowed"

root :to => 'index#index'

Expand Down

0 comments on commit dc2d85a

Please sign in to comment.