From 9c65cdb1566df848edb376866e1eb33b5183ba78 Mon Sep 17 00:00:00 2001 From: Justin Harms Date: Sat, 19 Jul 2025 04:42:20 -0500 Subject: [PATCH] Fix HTTP status code for root path in ServeHTTP method to ensure correct response for upstream verification --- steamcache/steamcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steamcache/steamcache.go b/steamcache/steamcache.go index 4f94569..307c255 100644 --- a/steamcache/steamcache.go +++ b/steamcache/steamcache.go @@ -323,7 +323,7 @@ func (sc *SteamCache) ServeHTTP(w http.ResponseWriter, r *http.Request) { } 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 }