Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

serve webdav: fix running duplicate Serve call

Nick Craig-Woodb1b62f70d390
diff --git a/cmd/serve/webdav/webdav.go b/cmd/serve/webdav/webdav.go
index cdec88b4b..e608ae6da 100644
--- a/cmd/serve/webdav/webdav.go
+++ b/cmd/serve/webdav/webdav.go
@@ -199,8 +199,6 @@ func newWebDAV(ctx context.Context, f fs.Fs, opt *Options) (w *WebDAV, err error
router.Method(method, "/*", w)
}
- w.Server.Serve()
-
return w, nil
}