mirror of
https://github.com/openziti/zrok.git
synced 2024-11-26 10:04:16 +01:00
endpoints in share details (#141)
This commit is contained in:
parent
2b5e4dda21
commit
ea50a833aa
@ -34,7 +34,14 @@ const ShareDetail = (props) => {
|
||||
metrics: row => <Sparklines data={row.value} limit={60} height={10}>
|
||||
<SparklinesLine color={"#3b2693"}/>
|
||||
<SparklinesSpots/>
|
||||
</Sparklines>
|
||||
</Sparklines>,
|
||||
frontendEndpoint: row => <a href={row.value} target="_">{row.value}</a>,
|
||||
backendProxyEndpoint: row => {
|
||||
if(row.value.startsWith("http://") || row.value.startsWith("https://")) {
|
||||
return <a href={row.value} target="_">{row.value}</a>;
|
||||
}
|
||||
return row.value;
|
||||
}
|
||||
}
|
||||
|
||||
if(detail) {
|
||||
|
Loading…
Reference in New Issue
Block a user