diff options
Diffstat (limited to 'config/routes/api.rb')
-rw-r--r-- | config/routes/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb index dcbc98991e2..8dd64068333 100644 --- a/config/routes/api.rb +++ b/config/routes/api.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -post '/api/graphql', to: 'graphql#execute' +match '/api/graphql', via: [:get, :post], to: 'graphql#execute' mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/api/graphql') ::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger |