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
@@ -10,7 +10,8 @@ import (
|
||||
"github.com/mholt/caddy/middleware/browse"
|
||||
)
|
||||
|
||||
// GET handles the GET method on browse page
|
||||
// GET handles the GET method on browse page and shows the files listing Using
|
||||
// the Browse Caddy middleware.
|
||||
func GET(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error) {
|
||||
functions := template.FuncMap{
|
||||
"CanBeEdited": utils.CanBeEdited,
|
||||
|
||||
Reference in new issue
Block a user