mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
web ui: allow to create folders from a template
This commit is contained in:
@@ -37,8 +37,7 @@ type webDavServer struct {
|
||||
binding Binding
|
||||
}
|
||||
|
||||
func (s *webDavServer) listenAndServe() error {
|
||||
compressor := middleware.NewCompressor(5, "text/*")
|
||||
func (s *webDavServer) listenAndServe(compressor *middleware.Compressor) error {
|
||||
handler := compressor.Handler(s)
|
||||
httpServer := &http.Server{
|
||||
Addr: s.binding.GetAddress(),
|
||||
|
||||
Reference in New Issue
Block a user