marinofaggiana 5 năm trước cách đây
mục cha
commit
97af6b10b4
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      iOSClient/Networking/NCNetworking.swift

+ 1 - 1
iOSClient/Networking/NCNetworking.swift

@@ -186,7 +186,7 @@ import NCCommunication
             metadata.richWorkspace = file.richWorkspace
             metadata.resourceType = file.resourceType
             if serverUrl == nil {
-                metadata.serverUrl = urlString + file.path.replacingOccurrences(of: "/remote.php/dav/files/"+user, with: "").dropLast()
+                metadata.serverUrl = urlString + file.path.replacingOccurrences(of: "dav/files/"+user, with: "webdav").dropLast()
             } else {
                 metadata.serverUrl = serverUrl!
             }