mirror of
https://github.com/alireza0/x-ui.git
synced 2026-03-22 00:35:48 +00:00
v1.6.1
This commit is contained in:
@@ -1379,13 +1379,13 @@ class Inbound extends XrayCommonClass {
|
||||
if(this.clients){
|
||||
let links = [];
|
||||
this.clients.forEach((client) => {
|
||||
genAllLinks(remark,client).forEach(l => {
|
||||
this.genAllLinks(remark,client).forEach(l => {
|
||||
links.push(l.link);
|
||||
})
|
||||
});
|
||||
return links.join('\r\n');
|
||||
} else {
|
||||
if(this.protocol == Protocols.SHADOWSOCKS && !this.isSSMultiUser) return this.genSSLink(this.listen, this.port, forceTls, remark);
|
||||
if(this.protocol == Protocols.SHADOWSOCKS && !this.isSSMultiUser) return this.genSSLink(this.listen, this.port, 'same', remark);
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -978,7 +978,7 @@
|
||||
newDbInbound = new DBInbound(dbInbound);
|
||||
if (dbInbound.listen.startsWith("@")){
|
||||
rootInbound = this.inbounds.find((i) =>
|
||||
i.tls &&
|
||||
i.stream.isTls &&
|
||||
['trojan','vless'].includes(i.protocol) &&
|
||||
i.settings.fallbacks.find(f => f.dest === dbInbound.listen)
|
||||
);
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ i18n "pages.xray.rules.outbound" }}</td>
|
||||
<td>{{ i18n "pages.xray.rules.inbound" }}</td>
|
||||
<td>
|
||||
<a-form-item>
|
||||
<a-checkbox-group
|
||||
|
||||
Reference in New Issue
Block a user