diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2018-02-26 13:37:10 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2018-02-26 13:37:10 +0300 |
commit | bd863016faca89fe78844467aefdd319db044b69 (patch) | |
tree | e7a879fd088bb147686b4982c072be4ea48f406d /Duplicati/Library/Backend/Dropbox/Dropbox.cs | |
parent | 325d45d7848796b2f7da1618c12f883459b46cd1 (diff) |
Added support for returning multiple DNS names for cache invalidation.
Updated most backends to return the actual DNS names for cache invalidation.
Diffstat (limited to 'Duplicati/Library/Backend/Dropbox/Dropbox.cs')
-rw-r--r-- | Duplicati/Library/Backend/Dropbox/Dropbox.cs | 4 |
1 files changed, 2 insertions, 2 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()
|