domain() of UploaderBuilder was modified to accept both string domain and domain of form {http: "http://upload.qiniu.com", https: "https://up.qbox.me"}.
New method scheme() was added to UploaderBuilder to let caller to specify their desired http scheme instead of one resolved from window.location.protocol.
In api level, this commit does two things:
domain() of UploaderBuilder was modified to accept both string domain and domain of form
{http: "http://upload.qiniu.com", https: "https://up.qbox.me"}
.New method scheme() was added to UploaderBuilder to let caller to specify their desired http scheme instead of one resolved from
window.location.protocol
.This commit does not build distribution files.