Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

pcloud: Add example hostnames to configurator and more docs - Fixes #4493

Nick Craig-Woodfee8f21ce135
diff --git a/backend/pcloud/pcloud.go b/backend/pcloud/pcloud.go
index d46b1ea71..9254b5a69 100644
--- a/backend/pcloud/pcloud.go
+++ b/backend/pcloud/pcloud.go
@@ -122,9 +122,19 @@ func init() {
Name: "hostname",
Help: `Hostname to connect to.
-This is normally set when rclone initially does the oauth connection.`,
+This is normally set when rclone initially does the oauth connection,
+however you will need to set it by hand if you are using remote config
+with rclone authorize.
+`,
Default: defaultHostname,
Advanced: true,
+ Examples: []fs.OptionExample{{
+ Value: defaultHostname,
+ Help: "Original/US region",
+ }, {
+ Value: "eapi.pcloud.com",
+ Help: "EU region",
+ }},
}}...),
})
}