From d7ae709cf771ec2e5f6c8bb61d1d585143a78178 Mon Sep 17 00:00:00 2001 From: Alek Slater Date: Tue, 31 Jan 2017 17:35:20 +0800 Subject: [PATCH] contentURL was missing the trailing slash causing it to fail for all contentURL calls with the dropbox api (#26) --- Sources/DropboxFileProvider.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/DropboxFileProvider.swift b/Sources/DropboxFileProvider.swift index 1747d40..302f3b0 100644 --- a/Sources/DropboxFileProvider.swift +++ b/Sources/DropboxFileProvider.swift @@ -58,7 +58,7 @@ open class DropboxFileProvider: FileProviderBasicRemote { self.credential = credential self.apiURL = URL(string: "https://api.dropboxapi.com/2/")! - self.contentURL = URL(string: "https://content.dropboxapi.com/2")! + self.contentURL = URL(string: "https://content.dropboxapi.com/2/")! dispatch_queue = DispatchQueue(label: "FileProvider.\(DropboxFileProvider.type)", attributes: DispatchQueue.Attributes.concurrent) operation_queue = OperationQueue()