mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
freedom - default settings
This commit is contained in:
parent
514c4909a4
commit
2950ce0c17
5 changed files with 21 additions and 11 deletions
|
@ -47,7 +47,9 @@
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIP"
|
"domainStrategy": "UseIP",
|
||||||
|
"redirect": "",
|
||||||
|
"noises": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -890,7 +890,11 @@ Outbound.FreedomSettings = class extends CommonClass {
|
||||||
};
|
};
|
||||||
|
|
||||||
Outbound.FreedomSettings.Fragment = class extends CommonClass {
|
Outbound.FreedomSettings.Fragment = class extends CommonClass {
|
||||||
constructor(packets = '1-3', length = '', interval = '') {
|
constructor(
|
||||||
|
packets = '1-3',
|
||||||
|
length = '',
|
||||||
|
interval = ''
|
||||||
|
) {
|
||||||
super();
|
super();
|
||||||
this.packets = packets;
|
this.packets = packets;
|
||||||
this.length = length;
|
this.length = length;
|
||||||
|
|
|
@ -920,7 +920,9 @@ class RealityStreamSettings extends XrayCommonClass {
|
||||||
json.settings.publicKey,
|
json.settings.publicKey,
|
||||||
json.settings.fingerprint,
|
json.settings.fingerprint,
|
||||||
json.settings.serverName,
|
json.settings.serverName,
|
||||||
json.settings.spiderX);}
|
json.settings.spiderX
|
||||||
|
);
|
||||||
|
}
|
||||||
return new RealityStreamSettings(
|
return new RealityStreamSettings(
|
||||||
json.show,
|
json.show,
|
||||||
json.xver,
|
json.xver,
|
||||||
|
|
|
@ -30,7 +30,9 @@
|
||||||
"tag": "direct",
|
"tag": "direct",
|
||||||
"protocol": "freedom",
|
"protocol": "freedom",
|
||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIP"
|
"domainStrategy": "UseIP",
|
||||||
|
"redirect": "",
|
||||||
|
"noises": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue