Fixes TypeInfoResolver Exception

This commit is contained in:
DHR60 2025-07-26 10:40:07 +08:00
parent a5735895c6
commit 5f5da59573
2 changed files with 4 additions and 4 deletions

View file

@ -121,7 +121,7 @@ public class CoreConfigSingboxService
}
}
}
ret.Data = customConfigNode.ToJsonString(new() { WriteIndented = true });
ret.Data = JsonUtils.Serialize(customConfigNode);
}
}
else
@ -504,7 +504,7 @@ public class CoreConfigSingboxService
}
}
}
ret.Data = customConfigNode.ToJsonString(new() { WriteIndented = true });
ret.Data = JsonUtils.Serialize(customConfigNode);
}
}
else

View file

@ -94,7 +94,7 @@ public class CoreConfigV2rayService
}
}
}
ret.Data = customConfigNode.ToJsonString(new() { WriteIndented = true });
ret.Data = JsonUtils.Serialize(customConfigNode);
}
}
else
@ -298,7 +298,7 @@ public class CoreConfigV2rayService
}
}
}
ret.Data = customConfigNode.ToJsonString(new() { WriteIndented = true });
ret.Data = JsonUtils.Serialize(customConfigNode);
}
}
else