fix thumbnail default

This commit is contained in:
Ryan Stafford 2023-08-08 17:57:47 -04:00
parent 3e1e3868f4
commit d8292bb9be

View file

@ -270,7 +270,7 @@ func Initialize(Host string, r *http.Request) (State, error) {
if hide := getCookie(r, "HideThumbnails"); hide != "" {
state.HideThumbnails = hide != "0"
} else {
state.HideThumbnails = os.Getenv("HIDE_THUMBNAILS") != "0"
state.HideThumbnails = os.Getenv("HIDE_THUMBNAILS") != ""
}
state.ParseQuery(r.URL.RawQuery)
if state.Sort == "" {