fixed irrexplorer links (fixes: #78)

This commit is contained in:
Annika Hannig 2021-10-09 16:41:11 +02:00
parent 3170ab95cc
commit 6acdd0cbfa
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ class FilterReason extends React.Component {
const cls = `reject-reason reject-reason-${community[1]}-${community[2]}`;
return (
<p key={key} className={cls}>
<a href={`http://irrexplorer.nlnog.net/search/${route.network}`}
<a href={`https://irrexplorer.nlnog.net/prefix/${route.network}`}
target="_blank" >{reason}</a>
</p>
);

View File

@ -21,7 +21,7 @@ class NoExportReason extends React.Component {
const cls = `noexport-reason noexport-reason-${community[1]}-${community[2]}`;
return (
<p key={key} className={cls}>
<a href={`http://irrexplorer.nlnog.net/search/${route.network}`}
<a href={`https://irrexplorer.nlnog.net/prefix/${route.network}`}
target="_blank" >{reason}</a>
</p>
);

View File

@ -54,7 +54,7 @@ export const ColNetwork = function(props) {
// Special AS Path Widget
export const ColAsPath = function(props) {
const asns = _lookup(props.route, "bgp.as_path");
const baseUrl = "http://irrexplorer.nlnog.net/search/"
const baseUrl = "https://irrexplorer.nlnog.net/asn/AS"
let asnLinks = asns.map((asn, i) => {
return (<a key={`${asn}_${i}`} href={baseUrl + asn} target="_blank">{asn} </a>);