Use https always
This commit is contained in:
@@ -75,8 +75,7 @@ ol.source.CartoDB.prototype.initializeMap_ = function() {
|
|||||||
this.applyTemplate_(this.templateCache_[paramHash]);
|
this.applyTemplate_(this.templateCache_[paramHash]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var protocol = window.location.protocol;
|
var mapUrl = 'https://' + this.account_ +
|
||||||
var mapUrl = protocol + '//' + this.account_ +
|
|
||||||
'.cartodb.com/api/v1/map';
|
'.cartodb.com/api/v1/map';
|
||||||
|
|
||||||
if (this.mapId_) {
|
if (this.mapId_) {
|
||||||
|
|||||||
Reference in New Issue
Block a user