mirror of
https://github.com/rclone/rclone.git
synced 2025-12-06 00:03:32 +00:00
serve webdav: fix serveDir not being updated with changes from webdav
Fixes an issue where changes such as renaming done using webdav would not be reflected in the html directory listing
This commit is contained in:
committed by
Nick Craig-Wood
parent
5597d6d871
commit
6e8e620e71
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
var (
|
||||
updateGolden = flag.Bool("updategolden", false, "update golden files for regression test")
|
||||
httpServer *Server
|
||||
httpServer *server
|
||||
testURL string
|
||||
)
|
||||
|
||||
@@ -30,7 +30,7 @@ const (
|
||||
func startServer(t *testing.T, f fs.Fs) {
|
||||
opt := httplib.DefaultOpt
|
||||
opt.ListenAddr = testBindAddress
|
||||
httpServer = NewServer(f, &opt)
|
||||
httpServer = newServer(f, &opt)
|
||||
assert.NoError(t, httpServer.Serve())
|
||||
testURL = httpServer.Server.URL()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user