apk code
This commit is contained in:
parent
1188636818
commit
6b374d72b7
|
@ -29,7 +29,12 @@ class ApiUtils {
|
|||
var url = this.getDefaults("base_url",context)
|
||||
if (url.isNullOrEmpty()){
|
||||
setDefaults("base_url", BASE_URL,context)
|
||||
}else{
|
||||
if (!url.contains("http")){
|
||||
url = "https://"+url
|
||||
}
|
||||
}
|
||||
|
||||
return if (url.isNullOrEmpty()) BASE_URL else url
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue