You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
progresses on #49
This commit is contained in:
@@ -13,6 +13,6 @@ func ServeHTTP(w http.ResponseWriter, r *http.Request, c *config.Config) (int, e
|
||||
case "POST":
|
||||
return POST(w, r, c)
|
||||
default:
|
||||
return 400, errors.New("Invalid method.")
|
||||
return http.StatusMethodNotAllowed, errors.New("Invalid method.")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user