mirror of
https://github.com/photoprism/photoprism.git
synced 2026-01-23 02:24:24 +00:00
WebDAV: Add "/import/" path check to internal/service/heuristic.go
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
parent
03f5bb322d
commit
dc265085a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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"},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue