diff options
author | FChannel <> | 2021-10-03 13:49:50 -0700 |
---|---|---|
committer | FChannel <> | 2021-10-03 13:49:50 -0700 |
commit | 4a1af2045365409a05849ab70a1ac6c9e6e51a93 (patch) | |
tree | 837e87cff016f2789ac6fd9bcc537631719030fc /main.go | |
parent | cc4165f07a406cdd89e6a3864cac6a367f281513 (diff) | |
parent | c1ba6f94d7a44f79ea1ef2513021f2a29aba9a3e (diff) |
Merge branch 'master' into development
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2852,7 +2852,7 @@ func RouteImages(w http.ResponseWriter, media string) { resp, err := client.Do(req) - if err != nil || resp.StatusCode == 404 { + if err != nil || resp.StatusCode != 200 { fileBytes, err := ioutil.ReadFile("./static/notfound.png") CheckError(err, "could not get /static/notfound.png file bytes") |