wireguard info page

This commit is contained in:
Alireza Ahmadi
2024-01-11 14:11:20 +01:00
parent 2026bd7546
commit 85c2d2ecd7
2 changed files with 43 additions and 0 deletions

View File

@@ -56,6 +56,10 @@ class DBInbound {
return this.protocol === Protocols.HTTP;
}
get isWireguard() {
return this.protocol === Protocols.WIREGUARD;
}
get address() {
let address = location.hostname;
if (!ObjectUtil.isEmpty(this.listen) && this.listen !== "0.0.0.0") {