Skip to content

Commit

Permalink
fix thumbnail default
Browse files Browse the repository at this point in the history
  • Loading branch information
rystaf committed Aug 8, 2023
1 parent 3e1e386 commit d8292bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "" {
Expand Down

0 comments on commit d8292bb

Please sign in to comment.