Use actual CDN url for HTTP and HTTPS
This commit is contained in:
parent
49f9904d00
commit
6c69ba54db
@ -477,7 +477,7 @@ MapController.prototype.getUrlsFromTemplate = function(username, resource) {
|
||||
|
||||
if (this.resourcesUrlTemplates.http) {
|
||||
urls.http = this.resourcesUrlTemplates.http({
|
||||
cdn_url: cdnUrl,
|
||||
cdn_url: cdnUrl.http,
|
||||
user: username,
|
||||
port: global.environment.port,
|
||||
resource: resource
|
||||
@ -486,7 +486,7 @@ MapController.prototype.getUrlsFromTemplate = function(username, resource) {
|
||||
|
||||
if (this.resourcesUrlTemplates.https) {
|
||||
urls.https = this.resourcesUrlTemplates.https({
|
||||
cdn_url: cdnUrl,
|
||||
cdn_url: cdnUrl.https,
|
||||
user: username,
|
||||
port: global.environment.port,
|
||||
resource: resource
|
||||
|
Loading…
Reference in New Issue
Block a user