diff --git a/internal/tui/model.go b/internal/tui/model.go index b9ad42d..5f76af5 100644 --- a/internal/tui/model.go +++ b/internal/tui/model.go @@ -91,11 +91,10 @@ func loadConfig() AppConfig { config.Database.MaxConns = 10 config.Database.MinConns = 2 - config.Certificates.DirPath = "/caminho/para/diretorio" - - // Database.URL and Application.CentralServerURL are intentionally left empty so the - // fields show their placeholder instead of a pre-filled dummy. A real config.toml - // (re-run) still seeds them through the decode below. + // Database.URL, Certificates.DirPath and Application.CentralServerURL are + // intentionally left empty so the fields show their placeholder instead of a + // pre-filled dummy. A real config.toml (re-run) still seeds them through the + // decode below. _, err := os.Stat("config.toml") if err == nil {