mirror of
https://github.com/filebrowser/filebrowser.git
synced 2026-07-26 17:29:29 +00:00
Fix error
This commit is contained in:
parent
973d4380df
commit
a48617de6a
1 changed files with 1 additions and 1 deletions
2
http.go
2
http.go
|
|
@ -149,7 +149,7 @@ func errorToHTTP(err error, gone bool) int {
|
|||
|
||||
return http.StatusGone
|
||||
case os.IsExist(err):
|
||||
return http.StatusGone
|
||||
return http.StatusConflict
|
||||
default:
|
||||
return http.StatusInternalServerError
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue