Fix HTTP status code for root path in ServeHTTP method to ensure correct response for upstream verification
All checks were successful
Release Tag / release (push) Successful in 12s

This commit is contained in:
2025-07-19 04:42:20 -05:00
parent ae013f9a3b
commit 9c65cdb156

View File

@@ -323,7 +323,7 @@ func (sc *SteamCache) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} }
if r.URL.Path == "/" { if r.URL.Path == "/" {
w.WriteHeader(http.StatusFound) // this is used by steamcache2's upstream verification at startup w.WriteHeader(http.StatusOK) // this is used by steamcache2's upstream verification at startup
return return
} }