Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-01-11 17:56:54 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-01-11 18:24:18 +0300
commit590a8f07b9c9677240eb77f63afe23917f00993d (patch)
tree564c257e5075b85688b40d37bb777ea61fbd3d0d /web/assets/js
parent594f004d2a80e54f972b25badacb28d2bf3acad5 (diff)
wireguard info page
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/dbinbound.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/assets/js/model/dbinbound.js b/web/assets/js/model/dbinbound.js
index d8d0b94f..9f6f04c6 100644
--- a/web/assets/js/model/dbinbound.js
+++ b/web/assets/js/model/dbinbound.js
@@ -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") {