@ -42,5 +42,9 @@ func CreateConfig(path string, cfg *Config) {
cfg.Zerooo.Location = filepath.Join(filepath.Dir(path), cfg.Zerooo.Location)
}
if cfg.Zerooo.Endpoint == "" {
cfg.Zerooo.Endpoint = "https://zer.ooo"
Check(err, "Couldn't parse %q, err: %s", path, err)