debian-mirror-gitlab/config/routes/api.rb
2019-09-30 21:07:59 +05:30

5 lines
223 B
Ruby

post '/api/graphql', to: 'graphql#execute'
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
mount ::API::API => '/'