mirror of
https://github.com/wweir/sower.git
synced 2026-10-20 18:04:32 +00:00
config/sowerd.toml and ExampleSowerdConfigTOML are the same artifact kept in two places: the constant is what `sowerd -i` writes to /etc/sower/sowerd.toml (internal/install/service.go), the file is what `-c config/sowerd.toml` loads during development. They had drifted in both directions -- the constant carried the [site_routes.routes] path-prefix example and the older cert.domains wording, while the file carried the newer wording and left `domains` uncommented -- so a deployment got guidance contradicting the shipped binary depending on which copy it read. Take the constant as the source of truth, comment out the placeholder cert.domains entry (a placeholder domain is not one the operator owns) and pin the two copies byte for byte with a test that prints the differing lines.