WebDAV: Add "/import/" path check to internal/service/heuristic.go

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer 2025-06-10 14:02:57 +02:00
parent 03f5bb322d
commit dc265085a8

View file

@ -30,7 +30,7 @@ var Heuristics = []Heuristic{
{Type: GPhotos, Domains: []string{"photos.google.com"}, Paths: []string{}, Method: "GET"},
{Type: WebDAV,
Domains: []string{},
Paths: []string{"/", "/webdav/", "/originals/", "/remote.php/dav/files/{user}/", "/remote.php/webdav/", "/dav/files/{user}/", "/servlet/webdav.infostore/"},
Paths: []string{"/", "/webdav/", "/originals/", "/import/", "/remote.php/dav/files/{user}/", "/remote.php/webdav/", "/dav/files/{user}/", "/servlet/webdav.infostore/"},
Method: "PROPFIND",
Headers: Headers{"Depth": "1"},
},