bug fix with prefix url

master
Steve L. Nyemba 5 years ago
parent 8c7f0619b8
commit 3e76e50e98

@ -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)

Loading…
Cancel
Save