fix: update web files root to use unified path structure
This commit is contained in:
@@ -24,7 +24,7 @@ const maxUploadMemory = 32 << 20 // 32 MiB
|
||||
// (internal/webdav) serves at /files/, so the web UI is just another view
|
||||
// onto the same files.
|
||||
func (s *Server) filesRoot(username string) string {
|
||||
return filepath.Join(s.cfg.Storage.DataDir, "files", username)
|
||||
return filepath.Join(s.cfg.Storage.DataDir, username, "files")
|
||||
}
|
||||
|
||||
// sanitizeRelPath cleans a slash-separated relative path (as received from
|
||||
|
||||
Reference in New Issue
Block a user