restore CONTENTS_DIR
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user