Fix #6313
This commit is contained in:
parent
6a6426265a
commit
aef30955f1
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ public class DownloadActivityType {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getBaseUrl(OsmandApplication ctx, String fileName) {
|
public String getBaseUrl(OsmandApplication ctx, String fileName) {
|
||||||
String url = "http://" + IndexConstants.INDEX_DOWNLOAD_DOMAIN + "/download?event=2&"
|
String url = "https://" + IndexConstants.INDEX_DOWNLOAD_DOMAIN + "/download?event=2&"
|
||||||
+ Version.getVersionAsURLParam(ctx) + "&file=" + encode(fileName);
|
+ Version.getVersionAsURLParam(ctx) + "&file=" + encode(fileName);
|
||||||
if(this == LIVE_UPDATES_FILE && fileName.length() > 16) {
|
if(this == LIVE_UPDATES_FILE && fileName.length() > 16) {
|
||||||
// DATE_AND_EXT_STR_LEN = "_18_06_02.obf.gz".length()
|
// DATE_AND_EXT_STR_LEN = "_18_06_02.obf.gz".length()
|
||||||
|
|
Loading…
Reference in a new issue