Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 03:08:41 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-05 03:08:41 +0300
commite40710ab8a30f36d7c82d7d6497033291840eec9 (patch)
treeaea450b24cb1bd8023c1d297e4f01de4e88926b2 /config/routes/api.rb
parent51612d3ef5be853289008694c40973b479e8547c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'config/routes/api.rb')
-rw-r--r--config/routes/api.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb
index d55bbdf6776..5dbfcc98f0f 100644
--- a/config/routes/api.rb
+++ b/config/routes/api.rb
@@ -1,5 +1,5 @@
post '/api/graphql', to: 'graphql#execute'
-mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql'
+mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: Gitlab::Utils.append_path(Gitlab.config.gitlab.relative_url_root, '/api/graphql')
::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger
mount ::API::API => '/'