add optional config preview with confirmation

This commit is contained in:
2025-08-01 00:08:38 +03:00
parent 3b8390a0c8
commit 08e96aa32a
5 changed files with 88 additions and 4 deletions

View File

@@ -45,6 +45,7 @@ func (c *Compositor) LoadConf(path string) error {
// defaults
v.SetDefault("node.name", "noname")
v.SetDefault("node.mode", "dev")
v.SetDefault("node.show_config", "false")
v.SetDefault("node.com_dir", "./com/")
v.SetDefault("http_server.address", "0.0.0.0")
v.SetDefault("http_server.port", "8080")