diff options
author | Siegfried Ehret <49895321+siegfried-ehret-sonarsource@users.noreply.github.com> | 2019-05-09 09:01:03 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-05-09 20:21:09 +0200 |
commit | 0163587d482d35327204849c10d6538c79929925 (patch) | |
tree | 055070bba90ad3fc1fbd25fdd072d8a37087c3d4 /server/sonar-web/public | |
parent | 3e6a9effc6e070a0480909419982031fd5280881 (diff) | |
download | sonarqube-0163587d482d35327204849c10d6538c79929925.tar.gz sonarqube-0163587d482d35327204849c10d6538c79929925.zip |
Revert "SONARCLOUD-615 Add google tag manager scripts" (#1583)
This reverts commit 74356a544b24317e5504fe6a85327f81af07f658.
Diffstat (limited to 'server/sonar-web/public')
-rw-r--r-- | server/sonar-web/public/analytics.js | 19 | ||||
-rw-r--r-- | server/sonar-web/public/index.html | 14 |
2 files changed, 6 insertions, 27 deletions
diff --git a/server/sonar-web/public/analytics.js b/server/sonar-web/public/analytics.js deleted file mode 100644 index bfb641e5e34..00000000000 --- a/server/sonar-web/public/analytics.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2019 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ diff --git a/server/sonar-web/public/index.html b/server/sonar-web/public/index.html index 15b0b4fe201..11e69bd1c71 100644 --- a/server/sonar-web/public/index.html +++ b/server/sonar-web/public/index.html @@ -31,20 +31,18 @@ </head> <body> - <script> - window.baseUrl = '%WEB_CONTEXT%'; - window.serverStatus = '%SERVER_STATUS%'; - window.instance = '%INSTANCE%'; - window.official = %OFFICIAL%; - </script> - <script src="./analytics.js"></script> - <div id="content"> <div class="global-loading"> <i class="spinner global-loading-spinner"></i> <span class="global-loading-text">Loading...</span> </div> </div> + <script> + window.baseUrl = '%WEB_CONTEXT%'; + window.serverStatus = '%SERVER_STATUS%'; + window.instance = '%INSTANCE%'; + window.official = %OFFICIAL%; + </script> <% for (let chunk in htmlWebpackPlugin.files.chunks) { %> <script type="module" src="%WEB_CONTEXT%/<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script> <script nomodule src="%WEB_CONTEXT%/<%= htmlWebpackPlugin.files.chunks[chunk].entry.replace(/m\.[\w\d]+/, htmlWebpackPlugin.options.timestamp) %>"></script> |