|
|
|
@ -21,7 +21,7 @@ jx.cloudview.init = function(url,redir_url){//host,protocol){
|
|
|
|
|
jx.cloudview.oauth.init = function (id, key,callback,err) {
|
|
|
|
|
// var url = ":protocol://:host/cloud-view/" +id+"/get"
|
|
|
|
|
// url = url.replace(/:protocol/,jx.cloudview.protocol).replace(/:host/,jx.cloudview.host)
|
|
|
|
|
var url = jx.cloudview.url+'/get'
|
|
|
|
|
var url = ([jx.cloudview.url,key,'get']).join('/')
|
|
|
|
|
var httpclient = HttpClient.instance()
|
|
|
|
|
httpclient.setHeader("platform",navigator.appName)
|
|
|
|
|
|
|
|
|
|