Commit cf7e5861f9461c693f2354dfb7df0e0d6e158455
1 parent
ca60ca85
Change Tencent Maps API script url to HTTPS
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -107,7 +107,7 @@ export default class TbTencentMap { | @@ -107,7 +107,7 @@ export default class TbTencentMap { | ||
107 | loaded: false, | 107 | loaded: false, |
108 | pendingInits: [] | 108 | pendingInits: [] |
109 | }; | 109 | }; |
110 | - var tencentMapScriptRes = 'http://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName; | 110 | + var tencentMapScriptRes = 'https://map.qq.com/api/js?v=2.exp&key='+this.apiKey+'&callback='+this.initMapFunctionName; |
111 | 111 | ||
112 | tmGlobals.loadingTmId = this.mapId; | 112 | tmGlobals.loadingTmId = this.mapId; |
113 | lazyLoad.load({ type: 'js', path: tencentMapScriptRes }).then( // eslint-disable-line no-undef | 113 | lazyLoad.load({ type: 'js', path: tencentMapScriptRes }).then( // eslint-disable-line no-undef |