fix json marshal

This commit is contained in:
Alireza Ahmadi
2024-07-18 22:44:33 +02:00
parent 7904cb3db0
commit 58f4a676b5
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ func (s *ConfigService) Save(singboxConfig *SingBoxConfig) error {
return err
}
data, err := json.MarshalIndent(singboxConfig, " ", " ")
data, err := json.MarshalIndent(singboxConfig, "", " ")
if err != nil {
return err
}