2021-02-03 21:09:17 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-02-24 12:10:54 +00:00
|
|
|
match '/api/graphql', via: [:get, :post], to: 'graphql#execute'
|
2020-02-05 00:08:41 +00:00
|
|
|
mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/api/graphql')
|
2017-08-16 13:04:41 +00:00
|
|
|
|
2019-07-10 19:26:47 +00:00
|
|
|
::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
|
2019-06-24 16:53:17 +00:00
|
|
|
mount ::API::API => '/'
|