diff --git a/src/components/NodePanel.js b/src/components/NodePanel.js index a16d039..77c80a9 100644 --- a/src/components/NodePanel.js +++ b/src/components/NodePanel.js @@ -1,5 +1,5 @@ import React, { useState, useEffect } from "react"; -import { +import { CNav, CNavItem, CNavLink, @@ -136,7 +136,7 @@ function NodePanel(props) { {['rpc', 'rest'].includes(type) &&

- {type.toUpperCase()} Proxy: {`https://${type}.cosmos.directory/${chain.path}`} + {type.toUpperCase()} Proxy: {`https://${type}.${process.env.DIRECTORY_DOMAIN}/${chain.path}`}

} @@ -161,4 +161,4 @@ function NodePanel(props) { ) } -export default NodePanel \ No newline at end of file +export default NodePanel diff --git a/src/components/SourcesPanel.js b/src/components/SourcesPanel.js index 93dc080..cb14c17 100644 --- a/src/components/SourcesPanel.js +++ b/src/components/SourcesPanel.js @@ -1,5 +1,5 @@ import React from "react"; -import { +import { CTooltip } from '@coreui/react' import Panel from "./Panel"; @@ -13,9 +13,9 @@ function SourcesPanel(props) { label: Chain Registry, value: ( <> - chains.cosmos.directory/{chain.path}
- chains.cosmos.directory/{chain.path}/chain
- chains.cosmos.directory/{chain.path}/assetlist
+ chains.{process.env.DIRECTORY_DOMAIN}/{chain.path}
+ chains.{process.env.DIRECTORY_DOMAIN}/{chain.path}/chain
+ chains.{process.env.DIRECTORY_DOMAIN}/{chain.path}/assetlist
) }, @@ -24,7 +24,7 @@ function SourcesPanel(props) { label: Validator Registry, value: ( <> - validators.cosmos.directory/chains/{chain.path}
+ validators.{process.env.DIRECTORY_DOMAIN}/chains/{chain.path}
) }, @@ -35,8 +35,8 @@ function SourcesPanel(props) { ), value: ( <> - rpc.cosmos.directory/{chain.path}
- rest.cosmos.directory/{chain.path}
+ rpc.{process.env.DIRECTORY_DOMAIN}/{chain.path}
+ rest.{process.env.DIRECTORY_DOMAIN}/{chain.path}
) }, @@ -47,7 +47,7 @@ function SourcesPanel(props) { ), value: ( <> - status.cosmos.directory/{chain.path}
+ status.{process.env.DIRECTORY_DOMAIN}/{chain.path}
) }, @@ -62,4 +62,4 @@ function SourcesPanel(props) { ) } -export default SourcesPanel \ No newline at end of file +export default SourcesPanel