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 => '/'
|