Use JSON.pretty_generate when saving json (settings, app cache, and asterisk)

This commit is contained in:
2026-03-20 17:46:22 -05:00
parent 2d429cb834
commit f350a9a937
3 changed files with 3 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ class W3DHub
end
def save_config(config = @config)
File.write(CONFIG_PATH, config.to_json)
File.write(CONFIG_PATH, JSON.pretty_generate(config))
end
end
end