diff options
author | Kushal Pandya <kushal@gitlab.com> | 2017-02-07 12:37:19 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2017-02-07 12:37:19 +0530 |
commit | 349db2acb1a5a16bb43ac513de037e10dfa55503 (patch) | |
tree | 583718b36e285a2148592530143b679be3d136f0 | |
parent | b1db5138d3f9582c29de8f8fc3cfc61a4d17e6a3 (diff) | |
download | gitlab-ce-349db2acb1a5a16bb43ac513de037e10dfa55503.tar.gz |
Remove `Date.now()` to prevent cache busting of favicons
-rw-r--r-- | app/assets/javascripts/lib/utils/common_utils.js.es6 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/lib/utils/common_utils.js.es6 b/app/assets/javascripts/lib/utils/common_utils.js.es6 index 6978301cb3c..5e19ff7f65b 100644 --- a/app/assets/javascripts/lib/utils/common_utils.js.es6 +++ b/app/assets/javascripts/lib/utils/common_utils.js.es6 @@ -245,7 +245,7 @@ w.gl.utils.setFavicon = (iconName) => { const link = document.getElementById('favicon'); if (link && iconName) { - link.setAttribute('href', `/assets/${iconName}.ico?${Date.now()}`); + link.setAttribute('href', `/assets/${iconName}.ico`); } }; |