2021-02-03 16:09:17 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-02-24 07:10:54 -05:00
|
|
|
match '/api/graphql', via: [:get, :post], to: 'graphql#execute'
|
2020-02-04 19:08:41 -05: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 09:04:41 -04:00
|
|
|
|
2019-07-10 15:26:47 -04:00
|
|
|
::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
|
2019-06-24 12:53:17 -04:00
|
|
|
mount ::API::API => '/'
|