diff --git a/src/media/fetch.go b/src/media/fetch.go index 7b6ad56..5d055e6 100644 --- a/src/media/fetch.go +++ b/src/media/fetch.go @@ -221,7 +221,7 @@ func isValidId(id string) bool { } func getDownloadDir() string { - dir := os.Getenv("DOWNLOAD_DIR") + dir := os.Getenv("MR_DOWNLOAD_DIR") if dir != "" { if !strings.HasSuffix(dir, "/") { return dir + "/"