marinofaggiana 5 years ago
parent
commit
97af6b10b4
1 changed files with 1 additions and 1 deletions
  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!
             }