freedom - default settings

This commit is contained in:
mhsanaei 2024-10-17 10:36:05 +02:00
parent 514c4909a4
commit 2950ce0c17
No known key found for this signature in database
GPG Key ID: 4DACC0663B5986F5
5 changed files with 21 additions and 11 deletions

View File

@ -47,7 +47,9 @@
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
"domainStrategy": "UseIP",
"redirect": "",
"noises": []
}
},
{

View File

@ -143,6 +143,6 @@ class DBInbound {
genInboundLinks(remarkModel) {
const inbound = this.toInbound();
return inbound.genInboundLinks(this.remark,remarkModel);
return inbound.genInboundLinks(this.remark, remarkModel);
}
}

View File

@ -890,7 +890,11 @@ Outbound.FreedomSettings = class extends CommonClass {
};
Outbound.FreedomSettings.Fragment = class extends CommonClass {
constructor(packets = '1-3', length = '', interval = '') {
constructor(
packets = '1-3',
length = '',
interval = ''
) {
super();
this.packets = packets;
this.length = length;

View File

@ -920,7 +920,9 @@ class RealityStreamSettings extends XrayCommonClass {
json.settings.publicKey,
json.settings.fingerprint,
json.settings.serverName,
json.settings.spiderX);}
json.settings.spiderX
);
}
return new RealityStreamSettings(
json.show,
json.xver,

View File

@ -30,7 +30,9 @@
"tag": "direct",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIP"
"domainStrategy": "UseIP",
"redirect": "",
"noises": []
}
},
{