feat: add environment variables configuration support (#1088)

This commit is contained in:
Levi authored and GitHub committed 2025-08-28 08:21:02 +08:00
1 parent 2fd2596aa0
commit 7ce0d876b0
8 files changed
+908 -82

No files matched your search

+1 -1
View File
@@ -91,7 +91,7 @@ func TestDownloader_CreateNotInWhite(t *testing.T) {
defer listener.Close()
downloader := NewDownloader(&DownloaderConfig{
DownloadDirWhiteList: []string{"./downloads"},
WhiteDownloadDirs: []string{"./downloads"},
})
if err := downloader.Setup(); err != nil {
t.Fatal(err)