docs and simplify
This commit is contained in:
1 parent
4a6c53a12b
commit
2414f2edec
5 files changed
+10
-9
No files matched your search
+2
-1
@@ -14,7 +14,8 @@ import (
|
||||
"github.com/hacdias/caddy-hugo/utils"
|
||||
)
|
||||
|
||||
// POST handles the POST method on browse page
|
||||
// POST handles the POST method on browse page. It's used to create new files,
|
||||
// folders and upload content.
|
||||
func POST(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error) {
|
||||
// Remove prefix slash
|
||||
r.URL.Path = strings.TrimPrefix(r.URL.Path, "/")
|
||||
|
||||
Reference in new issue
Block a user