From 042df803a9155273043c67bf572501fb52eac659 Mon Sep 17 00:00:00 2001 From: MuGu <94156510@qq.com> Date: Tue, 21 Nov 2023 16:05:51 +0800 Subject: [PATCH] fix: rclone sync exception --- server/webdav/webdav.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/webdav/webdav.go b/server/webdav/webdav.go index f2e3fd8a4090..ef01dbaad592 100644 --- a/server/webdav/webdav.go +++ b/server/webdav/webdav.go @@ -73,10 +73,10 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) { status, err = h.handleUnlock(brw, r) case "PROPFIND": status, err = h.handlePropfind(brw, r) - // if there is a error for PROPFIND, we should be as an empty folder to the client - if err != nil { - status = http.StatusNotFound - } + // // if there is a error for PROPFIND, we should be as an empty folder to the client + // if err != nil { + // status = http.StatusNotFound + // } case "PROPPATCH": status, err = h.handleProppatch(brw, r) }