aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/maintenance
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2023-01-13 16:44:23 +0100
committersonartech <sonartech@sonarsource.com>2023-01-17 20:02:59 +0000
commit4a183772d0a5f88c5f9693ea4726695ef4f562d1 (patch)
tree76f0be248aca4568ab6f8d9e34d19e191eea0101 /server/sonar-web/src/main/js/apps/maintenance
parent04f7a37abda3e7b3bd599b68c5e26c403ecfcfc9 (diff)
downloadsonarqube-4a183772d0a5f88c5f9693ea4726695ef4f562d1.tar.gz
sonarqube-4a183772d0a5f88c5f9693ea4726695ef4f562d1.zip
SONAR-17732 Remove all usage of redirect.sonarsource.com
Diffstat (limited to 'server/sonar-web/src/main/js/apps/maintenance')
-rw-r--r--server/sonar-web/src/main/js/apps/maintenance/components/App.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx
index a502a866b69..c19d1712d63 100644
--- a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx
+++ b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx
@@ -228,7 +228,10 @@ export default class App extends React.PureComponent<Props, State> {
values={{
link: (
<Link
- to="https://redirect.sonarsource.com/doc/upgrading.html"
+ // We cannot use <DocLink> here, as it relies on AppState. However, the maintenance
+ // app is a special app that can run in a "downgraded" environment, where the AppState
+ // may not yet be fully loaded. Hence, we link to this documentation page directly.
+ to="https://docs.sonarqube.org/latest/setup-and-upgrade/upgrade-the-server/upgrade-guide/"
target="_blank"
>
{translate('maintenance.sonarqube_is_under_maintenance_link.2')}