debian-mirror-gitlab/config/routes/api.rb

6 lines
223 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
post '/api/graphql', to: 'graphql#execute'
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
2018-11-08 19:23:39 +05:30
2019-09-30 21:07:59 +05:30
::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
mount ::API::API => '/'