diff --git a/internal/web/files.go b/internal/web/files.go index c4b4a35..417efd5 100644 --- a/internal/web/files.go +++ b/internal/web/files.go @@ -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