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

6 lines
290 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
post '/api/graphql', to: 'graphql#execute'
2020-03-13 15:44:24 +05:30
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/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 => '/'