mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-27 02:24:40 +00:00
Compare commits
No commits in common. "51220917c4ef60c5ff886925792c8323f46cf5f2" and "2dec7f48f5857c86f85270952c7f1593d3bae77b" have entirely different histories.
51220917c4
...
2dec7f48f5
4 changed files with 11 additions and 15 deletions
|
|
@ -493,7 +493,7 @@ class xHTTPStreamSettings extends XrayCommonClass {
|
||||||
headers = [],
|
headers = [],
|
||||||
scMaxBufferedPosts = 30,
|
scMaxBufferedPosts = 30,
|
||||||
scMaxEachPostBytes = "1000000",
|
scMaxEachPostBytes = "1000000",
|
||||||
scStreamUpServerSecs = "20-80",
|
scStreamUpServerSecs = "0",
|
||||||
noSSEHeader = false,
|
noSSEHeader = false,
|
||||||
xPaddingBytes = "100-1000",
|
xPaddingBytes = "100-1000",
|
||||||
mode = MODE_OPTION.AUTO,
|
mode = MODE_OPTION.AUTO,
|
||||||
|
|
|
||||||
|
|
@ -120,11 +120,9 @@
|
||||||
this.group.isGroup = true;
|
this.group.isGroup = true;
|
||||||
dbInbounds.forEach((dbInboundItem) => {
|
dbInbounds.forEach((dbInboundItem) => {
|
||||||
this.showProcess(dbInboundItem);
|
this.showProcess(dbInboundItem);
|
||||||
if (this.dbInbound.isMultiUser()) {
|
this.addClient(this.inbound.protocol, this.clients);
|
||||||
this.addClient(this.inbound.protocol, this.clients);
|
this.group.inbounds.push(dbInboundItem.id)
|
||||||
this.group.inbounds.push(dbInboundItem.id)
|
this.group.clients.push(this.clients[this.index])
|
||||||
this.group.clients.push(this.clients[this.index])
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
this.group.currentClient = this.clients[this.index]
|
this.group.currentClient = this.clients[this.index]
|
||||||
}
|
}
|
||||||
|
|
@ -142,11 +140,9 @@
|
||||||
showProcess(dbInbound, index = null) {
|
showProcess(dbInbound, index = null) {
|
||||||
this.dbInbound = new DBInbound(dbInbound);
|
this.dbInbound = new DBInbound(dbInbound);
|
||||||
this.inbound = dbInbound.toInbound();
|
this.inbound = dbInbound.toInbound();
|
||||||
if (this.dbInbound.isMultiUser()) {
|
this.clients = this.inbound.clients;
|
||||||
this.clients = this.inbound.clients;
|
this.index = index === null ? this.clients.length : index;
|
||||||
this.index = index === null ? this.clients.length : index;
|
this.delayedStart = false;
|
||||||
this.delayedStart = false;
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
singleEditClientProcess(index) {
|
singleEditClientProcess(index) {
|
||||||
if (this.clients[index].expiryTime < 0) {
|
if (this.clients[index].expiryTime < 0) {
|
||||||
|
|
|
||||||
|
|
@ -1455,7 +1455,7 @@
|
||||||
if (clients != null){
|
if (clients != null){
|
||||||
clients.forEach(c => {
|
clients.forEach(c => {
|
||||||
if (c.subId && c.subId.length>0){
|
if (c.subId && c.subId.length>0){
|
||||||
subLinks.push(this.subSettings.subURI + c.subId)
|
subLinks.push(this.subSettings.subURI + c.subId + "?name=" + c.subId)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
@ -1482,7 +1482,7 @@
|
||||||
if (clients != null){
|
if (clients != null){
|
||||||
clients.forEach(c => {
|
clients.forEach(c => {
|
||||||
if (c.subId && c.subId.length>0){
|
if (c.subId && c.subId.length>0){
|
||||||
subLinks.push(this.subSettings.subURI + c.subId)
|
subLinks.push(this.subSettings.subURI + c.subId + "?name=" + c.subId)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -51,8 +51,8 @@
|
||||||
"system": {
|
"system": {
|
||||||
"statsInboundDownlink": true,
|
"statsInboundDownlink": true,
|
||||||
"statsInboundUplink": true,
|
"statsInboundUplink": true,
|
||||||
"statsOutboundDownlink": false,
|
"statsOutboundDownlink": true,
|
||||||
"statsOutboundUplink": false
|
"statsOutboundUplink": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"routing": {
|
"routing": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue