mirror of
https://github.com/rclone/rclone.git
synced 2026-09-30 17:55:38 -04:00
serve webdav: fix running duplicate Serve call
Before this change we were starting the server twice for webdav which is inefficient and causes problems at exit.
This commit is contained in:
1 parent
823d89af9a
commit
b1b62f70d3
1 file changed
-2
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user