Use https always

This commit is contained in:
Alessandro Isaacs
2016-03-02 14:21:57 -08:00
parent 94998c8ec7
commit 2fd6352a57

View File

@@ -75,8 +75,7 @@ ol.source.CartoDB.prototype.initializeMap_ = function() {
this.applyTemplate_(this.templateCache_[paramHash]);
return;
}
var protocol = window.location.protocol;
var mapUrl = protocol + '//' + this.account_ +
var mapUrl = 'https://' + this.account_ +
'.cartodb.com/api/v1/map';
if (this.mapId_) {