webdav: add prefix support

This commit is contained in:
Nicola Murino
2021-03-07 17:10:45 +01:00
parent 1ab02d5891
commit 4c658bb6f0
9 changed files with 25 additions and 3 deletions

View File

@@ -203,6 +203,7 @@ func (s *webDavServer) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
handler := webdav.Handler{
Prefix: s.binding.Prefix,
FileSystem: connection,
LockSystem: lockSystem,
Logger: writeLog,