tale / headplane

An advanced UI for juanfont/headscale
MIT License
73 stars 2 forks source link

Fill default configuration values when parsing the configuration YAML #8

Closed tale closed 1 month ago

tale commented 1 month ago

Right now, I'm doing a very simple YAML parsing on the configuration file, but not filling in missing values with their defaults. This could be fixed with an idiomatic configuration API, however for now the solution would be filling in the default values from the upstream.

https://github.com/juanfont/headscale/blob/main/hscontrol/types/config.go

tale commented 1 month ago

Resolved in 3e51e4861d07cdd45807aa26589479a3b4e3b623