docs and simplify
This commit is contained in:
1 parent
4a6c53a12b
commit
2414f2edec
5 files changed
+10
-9
No files matched your search
+1
-1
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/hacdias/caddy-hugo/config"
|
||||
)
|
||||
|
||||
// DELETE handles the DELETE method on browse page
|
||||
// DELETE handles the delete requests on browse pages
|
||||
func DELETE(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error) {
|
||||
// Remove both beginning and trailing slashes
|
||||
path := r.URL.Path
|
||||
|
||||
Reference in new issue
Block a user