Welcome to mirror list, hosted at ThFree Co, Russian Federation.

api.rb « routes « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3719b7d3a1ef0b1d38828982d5c0af9118a0c53b (plain)
1
2
3
4
5
6
7
constraints(::Constraints::FeatureConstrainer.new(:graphql, default_enabled: true)) do
  post '/api/graphql', to: 'graphql#execute'
  mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
end

API::API.logger Rails.logger
mount API::API => '/'