Commit 83078faf authored by Dmytro Zaporozhets's avatar Dmytro Zaporozhets

Merge branch '55344-forward-npm-requests-enabled-by-default' into 'master'

Set feature flag forward_npm_package_registry_requests enabled by default

See merge request gitlab-org/gitlab!26932
parents eba09382 f3cfb8a0
- if Feature.enabled?(:forward_npm_package_registry_requests) && Gitlab.config.packages.enabled
- if Feature.enabled?(:forward_npm_package_registry_requests, default_enabled: true) && Gitlab.config.packages.enabled
%section.settings.as-package.no-animate#js-package-settings{ class: ('expanded' if expanded_by_default?) }
.settings-header
%h4
......
---
title: Add NPM package requests forwarding to npmjs.org
merge_request: 26932
author:
type: added
......@@ -28,7 +28,7 @@ module API
end
def redirect_registry_request_available?
Feature.enabled?(:forward_npm_package_registry_requests) &&
Feature.enabled?(:forward_npm_package_registry_requests, default_enabled: true) &&
::Gitlab::CurrentSettings.current_application_settings.npm_package_requests_forwarding
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment