2018-12-23 12:14:25 +05:30
|
|
|
constraints(::Constraints::FeatureConstrainer.new(:graphql, default_enabled: true)) do
|
2018-11-08 19:23:39 +05:30
|
|
|
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 => '/'
|