diff options
Diffstat (limited to 'Duplicati/Library/Backend/Dropbox')
-rw-r--r-- | Duplicati/Library/Backend/Dropbox/Dropbox.cs | 4 | ||||
-rw-r--r-- | Duplicati/Library/Backend/Dropbox/DropboxHelper.cs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Duplicati/Library/Backend/Dropbox/Dropbox.cs b/Duplicati/Library/Backend/Dropbox/Dropbox.cs index c98ef226d..4374bd8a3 100644 --- a/Duplicati/Library/Backend/Dropbox/Dropbox.cs +++ b/Duplicati/Library/Backend/Dropbox/Dropbox.cs @@ -136,9 +136,9 @@ namespace Duplicati.Library.Backend public string Description { get { return Strings.Dropbox.Description; } }
- public string DNSName
+ public string[] DNSName
{
- get { return null; }
+ get { return new string[] { new Uri(DropboxHelper.API_URL).Host, new Uri(DropboxHelper.CONTENT_API_URL).Host }; }
}
public void Test()
diff --git a/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs b/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs index 5573b1c78..15d998d9e 100644 --- a/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs +++ b/Duplicati/Library/Backend/Dropbox/DropboxHelper.cs @@ -11,8 +11,8 @@ namespace Duplicati.Library.Backend {
public class DropboxHelper : OAuthHelper
{
- private const string API_URL = "https://api.dropboxapi.com/2";
- private const string CONTENT_API_URL = "https://content.dropboxapi.com/2";
+ internal const string API_URL = "https://api.dropboxapi.com/2";
+ internal const string CONTENT_API_URL = "https://content.dropboxapi.com/2";
private const int DROPBOX_MAX_CHUNK_UPLOAD = 10 * 1024 * 1024; // 10 MB max upload
private const string API_ARG_HEADER = "DROPBOX-API-arg";
|