mirror of
https://github.com/mattermost/focalboard.git
synced 2024-12-24 13:43:12 +02:00
Preserve old handleServeFile endpoint behavior after refactor (#3892)
This commit is contained in:
parent
61952f23ad
commit
4e8a3f8232
@ -119,7 +119,7 @@ func (a *API) handleServeFile(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Content-Type", contentType)
|
||||
|
||||
fileInfo, err := a.app.GetFileInfo(filename)
|
||||
if err != nil {
|
||||
if err != nil && !model.IsErrNotFound(err) {
|
||||
a.errorResponse(w, r, err)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user