From dc2d85ad79da05fd88add7faec7580b13f269108 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 3 Oct 2019 18:09:39 +0200 Subject: [PATCH] use different route for graphql. datacite/volpino#78 --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index ca9a6d55a..b11b5e650 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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'