summaryrefslogtreecommitdiff
path: root/lib/product_analytics
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-28 15:09:57 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-28 15:09:57 +0000
commit1d9f78b3a4ecd36806890e80e513242d0fdf7b6e (patch)
tree80ea387bd0d33a19d2213be6aa30c39d67ffb9e5 /lib/product_analytics
parentb1e352740bd52771b419829abef0a0ad73141ac1 (diff)
downloadgitlab-ce-1d9f78b3a4ecd36806890e80e513242d0fdf7b6e.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/product_analytics')
-rw-r--r--lib/product_analytics/tracker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/product_analytics/tracker.rb b/lib/product_analytics/tracker.rb
index d4a88b879f0..e5550c2e6ef 100644
--- a/lib/product_analytics/tracker.rb
+++ b/lib/product_analytics/tracker.rb
@@ -6,6 +6,6 @@ module ProductAnalytics
URL = Gitlab.config.gitlab.url + '/-/sp.js'
# The collector URL minus protocol and /i
- COLLECTOR_URL = Gitlab.config.gitlab.url.sub(/\Ahttps?\:\/\//, '') + '/-/collector'
+ COLLECTOR_URL = Gitlab.config.gitlab.url.sub(%r{\Ahttps?\://}, '') + '/-/collector'
end
end