possible mount fixes

This commit is contained in:
Ben Sarmiento
2023-10-19 23:46:15 +02:00
parent a65019e202
commit 1992d26a4c
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ func Directory(path string) Response {
Propstat: PropStat{
Prop: Prop{
ResourceType: ResourceType{Collection: &struct{}{}},
ContentType: "httpd/unix-directory",
},
Status: "HTTP/1.1 200 OK",
},

View File

@@ -23,7 +23,7 @@ type Prop struct {
ContentLength int64 `xml:"d:getcontentlength"`
CreationDate string `xml:"d:creationdate"`
LastModified string `xml:"d:getlastmodified"`
IsHidden int `xml:"d:ishidden"`
ContentType string `xml:"d:getcontenttype"`
}
type ResourceType struct {