hopefully fix everything :)
This commit is contained in:
1 parent
9f84c546a2
commit
5cb0900c38
2 files changed
+16
-17
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user