Backend: Improve webdav log message
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
6ae51a4da8
commit
ade9659ba2
1 changed files with 2 additions and 2 deletions
|
@ -127,13 +127,13 @@ func registerRoutes(router *gin.Engine, conf *config.Config) {
|
|||
|
||||
// WebDAV server for file management, sync and sharing.
|
||||
WebDAV(conf.OriginalsPath(), router.Group("/originals", BasicAuth()), conf)
|
||||
log.Info("webdav: /originals/ enabled")
|
||||
log.Info("webdav: /originals/ waiting for connection")
|
||||
|
||||
if conf.ReadOnly() {
|
||||
log.Info("webdav: /import/ not available in read-only mode")
|
||||
} else {
|
||||
WebDAV(conf.ImportPath(), router.Group("/import", BasicAuth()), conf)
|
||||
log.Info("webdav: /import/ enabled")
|
||||
log.Info("webdav: /import/ waiting for connection")
|
||||
}
|
||||
|
||||
// Default HTML page for client-side rendering and routing via VueJS.
|
||||
|
|
Loading…
Reference in a new issue