You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
progresses on #23
This commit is contained in:
@@ -15,9 +15,9 @@ func ServeHTTP(w http.ResponseWriter, r *http.Request, c *config.Config) (int, e
|
||||
|
||||
switch r.Method {
|
||||
case "DELETE":
|
||||
return DELETE(w, r)
|
||||
return DELETE(w, r, c)
|
||||
case "POST":
|
||||
return POST(w, r)
|
||||
return POST(w, r, c)
|
||||
case "GET":
|
||||
return GET(w, r, c)
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user