mirror of
https://github.com/Prowlarr/Prowlarr
synced 2026-04-24 13:50:47 +02:00
Fixed: (UI) Replace api. only if it's a subdomain
This commit is contained in:
parent
95497480a2
commit
4ad992f76a
1 changed files with 1 additions and 1 deletions
|
|
@ -253,7 +253,7 @@ class IndexerIndexRow extends Component {
|
|||
className={styles.externalLink}
|
||||
name={icons.EXTERNAL_LINK}
|
||||
title={translate('Website')}
|
||||
to={baseUrl.replace('api.', '')}
|
||||
to={baseUrl.replace(/(:\/\/)api\./, '$1')}
|
||||
/> : null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue