WebDAV: Add trailing slash/ to log output
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
f9127dd46b
commit
b1dd8b0618
1 changed files with 3 additions and 3 deletions
|
@ -98,16 +98,16 @@ func registerRoutes(router *gin.Engine, conf *config.Config) {
|
|||
"photoprism": conf.WebDAVPassword(),
|
||||
})), conf)
|
||||
|
||||
log.Info("webdav: /originals available")
|
||||
log.Info("webdav: /originals/ available")
|
||||
|
||||
if conf.ReadOnly() {
|
||||
log.Info("webdav: /import not available in read-only mode")
|
||||
log.Info("webdav: /import/ not available in read-only mode")
|
||||
} else {
|
||||
WebDAV(conf.ImportPath(), router.Group("/import", gin.BasicAuth(gin.Accounts{
|
||||
"photoprism": conf.WebDAVPassword(),
|
||||
})), conf)
|
||||
|
||||
log.Info("webdav: /import available")
|
||||
log.Info("webdav: /import/ available")
|
||||
}
|
||||
} else {
|
||||
log.Info("webdav: disabled (no password set)")
|
||||
|
|
Loading…
Reference in a new issue