Use relative scheme for google maps API

Fixes #1
This commit is contained in:
Dmitriy Simushev 2014-12-25 11:32:35 +00:00
parent e7fe7c3c55
commit f0acd9e405
2 changed files with 3 additions and 3 deletions

View File

@ -141,7 +141,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
*/ */
public static function getVersion() public static function getVersion()
{ {
return '1.0.0'; return '1.0.1';
} }
/** /**
@ -164,7 +164,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi
throw new \RuntimeException('Google API key cannot be empty'); throw new \RuntimeException('Google API key cannot be empty');
} }
return 'http://maps.googleapis.com/maps/api/js?key=' return '//maps.googleapis.com/maps/api/js?key='
. $this->config['api_key'] . $this->config['api_key']
. '&sensor=false'; . '&sensor=false';
} }

View File

@ -1,5 +1,5 @@
{ {
"version": "1.0.0", "version": "1.0.1",
"devDependencies": { "devDependencies": {
"bower": "~1.3.12", "bower": "~1.3.12",
"gulp": "~3.8.10", "gulp": "~3.8.10",