new frontend and mobile view #1286

This commit is contained in:
Alireza Ahmadi committed 2023-12-04 19:18:53 +01:00
1 parent f734c821d6
commit 729d8549e2
29 files changed
+1698 -1423

No files matched your search

+13
View File
@@ -141,6 +141,19 @@ class DBInbound {
return Inbound.fromJson(config);
}
isMultiUser() {
switch (this.protocol) {
case Protocols.VMESS:
case Protocols.VLESS:
case Protocols.TROJAN:
return true;
case Protocols.SHADOWSOCKS:
return this.toInbound().isSSMultiUser;
default:
return false;
}
}
hasLink() {
switch (this.protocol) {
case Protocols.VMESS: