Backend: Code clean-up
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
d08428b0d5
commit
c1b08c8870
@ -2561,7 +2561,7 @@ paddlewheel:
|
||||
see: boat
|
||||
|
||||
padlock:
|
||||
see: lock
|
||||
see: ignore
|
||||
|
||||
paintbrush:
|
||||
see: ignore
|
||||
|
@ -4,7 +4,7 @@ import "fmt"
|
||||
|
||||
func PublishEntities(name, ev string, entities interface{}) {
|
||||
SharedHub().Publish(Message{
|
||||
Name: fmt.Sprintf("%s.%s", name, ev),
|
||||
Name: fmt.Sprintf("%s.%s", name, ev),
|
||||
Fields: Data{
|
||||
"entities": entities,
|
||||
},
|
||||
|
@ -23,7 +23,7 @@ func WebDAV(path string, router *gin.RouterGroup, conf *config.Config) {
|
||||
f := webdav.Dir(path)
|
||||
|
||||
srv := &webdav.Handler{
|
||||
Prefix: router.BasePath(),
|
||||
Prefix: router.BasePath(),
|
||||
FileSystem: f,
|
||||
LockSystem: webdav.NewMemLS(),
|
||||
Logger: func(r *http.Request, err error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user