onedrive: swap to using http://localhost:53682/ as redirect URL.

The previous redirect URL http://localhost.rclone.org:53682/ can't be
used any more in new OneDrive authentication which is a problem for
users trying to make their own credentials.
This commit is contained in:
Michael Ledin 2017-03-02 23:21:35 +03:00 committed by Nick Craig-Wood
parent 6a63bc2788
commit 8350544092

View File

@ -49,7 +49,7 @@ var (
}, },
ClientID: rcloneClientID, ClientID: rcloneClientID,
ClientSecret: fs.MustReveal(rcloneEncryptedClientSecret), ClientSecret: fs.MustReveal(rcloneEncryptedClientSecret),
RedirectURL: oauthutil.RedirectPublicURL, RedirectURL: oauthutil.RedirectLocalhostURL,
} }
chunkSize = fs.SizeSuffix(10 * 1024 * 1024) chunkSize = fs.SizeSuffix(10 * 1024 * 1024)
uploadCutoff = fs.SizeSuffix(10 * 1024 * 1024) uploadCutoff = fs.SizeSuffix(10 * 1024 * 1024)