refactor: no longer require DEEZER_ARL at startup

This commit is contained in:
Mathis Maquenne
2026-07-29 11:33:50 +02:00
parent f45ae6aee6
commit 09fa93f1e4
-3
View File
@@ -17,9 +17,6 @@ type Config struct {
func New() (*Config, error) {
arl := os.Getenv("DEEZER_ARL")
if arl == "" {
return nil, fmt.Errorf("DEEZER_ARL is not set. Export it in your shell: export DEEZER_ARL='your_cookie'")
}
homeDir, err := os.UserHomeDir()
if err != nil {