From: Stas Vilchik Date: Tue, 3 Oct 2017 09:18:52 +0000 (+0200) Subject: invalidate browser cache for logo X-Git-Tag: 6.6-RC1~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=912be3d929359d3de7acd687356c82c395cc8f84;p=sonarqube.git invalidate browser cache for logo --- diff --git a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavBranding.js b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavBranding.js index e3e3fb241d6..e7b4cae4816 100644 --- a/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavBranding.js +++ b/server/sonar-web/src/main/js/app/components/nav/global/GlobalNavBranding.js @@ -31,7 +31,7 @@ class GlobalNavBranding extends React.PureComponent { }; renderLogo() { - const url = this.props.customLogoUrl || `${window.baseUrl}/images/logo.svg`; + const url = this.props.customLogoUrl || `${window.baseUrl}/images/logo.svg?v=6.6`; const width = this.props.customLogoUrl ? this.props.customLogoWidth || 100 : 83; const height = 30; const title = translate('layout.sonar.slogan');