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

8 lines
254 B
Ruby
Raw Normal View History

2018-11-08 19:23:39 +05:30
constraints(::Constraints::FeatureConstrainer.new(:graphql)) do
post '/api/graphql', to: 'graphql#execute'
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
end
2016-11-03 12:29:30 +05:30
API::API.logger Rails.logger
2017-09-10 17:25:29 +05:30
mount API::API => '/'