summaryrefslogtreecommitdiff
path: root/config/routes/api.rb
blob: d55bbdf67762fed1114580c2a1fb61abbf6112c0 (plain)
1
2
3
4
5
post '/api/graphql', to: 'graphql#execute'
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'

::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
mount ::API::API => '/'