mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-05-31 04:37:20 +02:00
Removed zerotier related info
- Removed zt info from utils.html
This commit is contained in:
parent
fd41a1cb91
commit
b7e3888513
@ -151,11 +151,6 @@
|
||||
<td>Running Since</td>
|
||||
<td class="boottime"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>ZeroTier Linked</td>
|
||||
<td class="zt"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Enable SSH Loopback</td>
|
||||
<td class="sshlb"></td>
|
||||
@ -224,7 +219,6 @@
|
||||
$("#zoraxyinfo .version").text(data.Version);
|
||||
$(".zrversion").text("v." + data.Version); //index footer
|
||||
$("#zoraxyinfo .boottime").text(timeConverter(data.BootTime) + ` ( ${secondsToDhms(parseInt(Date.now()/1000) - data.BootTime)} ago)`);
|
||||
$("#zoraxyinfo .zt").html(data.ZerotierConnected?`<i class="ui green check icon"></i> Connected`:`<i class="ui red times icon"></i> Link Error`);
|
||||
$("#zoraxyinfo .sshlb").html(data.EnableSshLoopback?`<i class="ui yellow exclamation triangle icon"></i> Enabled`:`Disabled`);
|
||||
});
|
||||
|
||||
|
@ -348,7 +348,6 @@ func HandleZoraxyInfo(w http.ResponseWriter, r *http.Request) {
|
||||
Development: DEVELOPMENT_BUILD,
|
||||
BootTime: displayBootTime,
|
||||
EnableSshLoopback: displayAllowSSHLB,
|
||||
ZerotierConnected: ganManager.ControllerID != "",
|
||||
}
|
||||
|
||||
js, _ := json.MarshalIndent(info, "", " ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user