sanitize external_url, remove trailing slashes

This commit is contained in:
Christoph Haas
2025-05-15 17:58:34 +02:00
parent 7df4e4b813
commit ab9995350f
2 changed files with 8 additions and 0 deletions

View File

@@ -190,6 +190,8 @@ func GetConfig() (*Config, error) {
return nil, fmt.Errorf("failed to load config from yaml: %w", err)
}
cfg.Web.Sanitize()
return cfg, nil
}