diff --git a/src/components/docker-registry-ui.riot b/src/components/docker-registry-ui.riot index 66da81c..8ed1b18 100644 --- a/src/components/docker-registry-ui.riot +++ b/src/components/docker-registry-ui.riot @@ -107,7 +107,7 @@ along with this program. If not, see . const registryUrl = props.registryUrl || (props.singleRegistry === 'true' ? undefined : (router.getUrlQueryParam() || getRegistryServers(0))) || (window.location.origin + window.location.pathname.replace(/\/+$/, '')); - this.state.registryUrl = registryUrl.replace(/\/$/, ''); + this.state.registryUrl = registryUrl.replace(/\/$/, '').replace(/index(\.html?)?$/, ''); this.state.name = props.name || stripHttps(props.registryUrl); this.state.catalogElementsLimit = props.catalogElementsLimit || 100000; this.state.pullUrl = this.pullUrl(this.state.registryUrl, props.pullUrl);