From cf7e5861f9461c693f2354dfb7df0e0d6e158455 Mon Sep 17 00:00:00 2001 From: Igor Kulikov Date: Wed, 10 Jan 2018 16:56:50 +0200 Subject: [PATCH] Change Tencent Maps API script url to HTTPS --- ui/src/app/widget/lib/tencent-map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/widget/lib/tencent-map.js b/ui/src/app/widget/lib/tencent-map.js index ffcd3b0a24..27a87cab59 100644 --- a/ui/src/app/widget/lib/tencent-map.js +++ b/ui/src/app/widget/lib/tencent-map.js @@ -107,7 +107,7 @@ export default class TbTencentMap { loaded: false, pendingInits: [] }; - var tencentMapScriptRes = 'http://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName; + var tencentMapScriptRes = 'https://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName; tmGlobals.loadingTmId = this.mapId; lazyLoad.load({ type: 'js', path: tencentMapScriptRes }).then( // eslint-disable-line no-undef