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
@@ -40,7 +40,7 @@ func (c *PlayController) Play(w http.ResponseWriter, r *http.Request) {
}
func (c *PlayController) ServeContent(w http.ResponseWriter, r *http.Request) {
contentsPath := os.Getenv("CONTENTS_DIR")
contentsPath := os.Getenv("GAMES_DIR")
name := chi.URLParam(r, "name")
if name == "" {
http.Error(w, "Name not provided", http.StatusBadRequest)