restore CONTENTS_DIR

This commit is contained in:
2025-12-07 15:06:07 +01:00
parent d18a72d492
commit fb37a2677c
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ func (c *DownloadController) serve(w http.ResponseWriter, r *http.Request, relea
return
}
absContentsDir, err := filepath.Abs(os.Getenv("CONTENTS_DIR"))
absContentsDir, err := filepath.Abs(os.Getenv("GAMES_DIR"))
if err != nil {
http.Error(w, "Invalid contents directory path", http.StatusInternalServerError)
return