0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-12 11:29:36 +03:00

Config: Remove more legacy fields (#3817)

This commit is contained in:
Kobe Arthur Scofield
2024-09-19 09:05:59 +08:00
committed by GitHub
parent f406b2dee0
commit 57a41f3b4b
52 changed files with 569 additions and 1157 deletions

View File

@ -18,14 +18,12 @@ func TestFreedomConfig(t *testing.T) {
{
Input: `{
"domainStrategy": "AsIs",
"timeout": 10,
"redirect": "127.0.0.1:3366",
"userLevel": 1
}`,
Parser: loadJSON(creator),
Output: &freedom.Config{
DomainStrategy: freedom.Config_AS_IS,
Timeout: 10,
DestinationOverride: &freedom.DestinationOverride{
Server: &protocol.ServerEndpoint{
Address: &net.IPOrDomain{