hopefully fix everything :)

This commit is contained in:
Henrique Dias committed 2016-12-08 16:00:23 +00:00
1 parent 9f84c546a2
commit 5cb0900c38
2 files changed
+16 -17

No files matched your search

-2
View File
@@ -94,8 +94,6 @@ func (h Hugo) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error) {
}
if canBeEdited(r.URL.Path) && r.Method == http.MethodPut {
r.URL.Path = strings.Replace(r.URL.Path, h.FileManager.Configs[0].BaseURL, h.FileManager.Configs[0].WebDavURL, -1)
code, err := h.FileManager.ServeHTTP(w, r)
if err != nil {