You've already forked filebrowser
mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-11-26 14:25:26 +08:00
updates
This commit is contained in:
@@ -7,16 +7,6 @@ import (
|
||||
"github.com/hacdias/staticmin/config"
|
||||
)
|
||||
|
||||
type editor struct {
|
||||
Name string
|
||||
Class string
|
||||
IsPost bool
|
||||
Mode string
|
||||
Content string
|
||||
FrontMatter interface{}
|
||||
Config *config.Config
|
||||
}
|
||||
|
||||
// ServeHTTP serves the editor page
|
||||
func ServeHTTP(w http.ResponseWriter, r *http.Request, c *config.Config) (int, error) {
|
||||
filename := strings.Replace(r.URL.Path, "/admin/edit/", "", 1)
|
||||
|
||||
Reference in New Issue
Block a user