mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
d4b2709fb0
Pcloud appears to have opened up a new region and they are returning the hostname in the oauth callback, thus GET /?code=XXX&locationid=1&hostname=api.pcloud.com&state=XXX HTTP/1.1 GET /?code=XXX&locationid=2&hostname=eapi.pcloud.com&state=XXX HTTP/1.1 This isn't documented yet, however pCloud have confirmed that this is the correct interpretation. Rclone now reads the "hostname" parameter in the oauth callback and stores it in the config file. It uses it for all subequent API calls. |
||
---|---|---|
.. | ||
api | ||
pcloud_test.go | ||
pcloud.go |