diff options
Diffstat (limited to 'config/routes')
-rw-r--r-- | config/routes/api.rb | 2 |
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 => '/' |