From 8d2d8d3972cd0a73e2e277e20f348ac49720cf41 Mon Sep 17 00:00:00 2001 From: arnef Date: Sun, 30 Aug 2026 13:04:40 +0200 Subject: [PATCH] fix: update web files root to use unified path structure --- internal/web/files.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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