feat: add new locks parser for microsoft office online server

This commit is contained in:
Michael Barz
2024-07-24 21:16:32 +02:00
parent e15c3c3a04
commit 08cb228500
4 changed files with 94 additions and 12 deletions
@@ -118,8 +118,7 @@ func prepareRoutes(r *chi.Mux, options Options) {
r.Use(func(h stdhttp.Handler) stdhttp.Handler {
// authentication and wopi context
return colabmiddleware.WopiContextAuthMiddleware(options.Config.Wopi.Secret, h)
},
)
})
r.Get("/", func(w stdhttp.ResponseWriter, r *stdhttp.Request) {
adapter.CheckFileInfo(w, r)