File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
ui/src/pages/Admin/Dashboard/components/HealthStatus Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
3737 const { siteInfo } = siteInfoStore ( ) ;
3838 let isLatest = false ;
3939 let hasNewerVersion = false ;
40+ const downloadUrl = `https://answer.apache.org/download?from_version=${ version } ` ;
4041 if ( version && remote_version ) {
4142 isLatest = gte ( version , remote_version ) ;
4243 hasNewerVersion = gt ( remote_version , version ) ;
@@ -53,7 +54,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
5354 < a
5455 className = "ms-1 badge rounded-pill text-bg-success"
5556 target = "_blank"
56- href = "https://github.com/apache/answer/releases"
57+ href = { downloadUrl }
5758 rel = "noreferrer" >
5859 { t ( 'latest' ) }
5960 </ a >
@@ -62,7 +63,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
6263 < a
6364 className = "ms-1 badge rounded-pill text-bg-warning"
6465 target = "_blank"
65- href = { `https://answer.apache.org/download?from_version= ${ version } ` }
66+ href = { downloadUrl }
6667 rel = "noreferrer" >
6768 { t ( 'update_to' ) } { remote_version }
6869 </ a >
@@ -71,7 +72,7 @@ const HealthStatus: FC<IProps> = ({ data }) => {
7172 < a
7273 className = "ms-1 badge rounded-pill text-bg-danger"
7374 target = "_blank"
74- href = "https://github.com/apache/answer/releases"
75+ href = { downloadUrl }
7576 rel = "noreferrer" >
7677 { t ( 'check_failed' ) }
7778 </ a >
You can’t perform that action at this time.
0 commit comments