mirror of
https://github.com/gtsteffaniak/filebrowser.git
synced 2026-11-26 00:19:41 -05:00
return bad request #25
This commit is contained in:
1 parent
4e212fe2a5
commit
c7798814ea
1 file changed
+1
-1
+1
-1
@@ -52,7 +52,7 @@ func POST(w http.ResponseWriter, r *http.Request, c *config.Config, filename str
|
||||
|
||||
file = f
|
||||
default:
|
||||
return http.StatusNotFound, nil
|
||||
return http.StatusBadRequest, nil
|
||||
}
|
||||
|
||||
// Write the file
|
||||
|
||||
Reference in new issue
Block a user