mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
Append slash to endpoint. (Fix issue #337)
This commit is contained in:
parent
c81db752f6
commit
ae37fa2bc5
@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Prevent `getModules()` selectors from returning duplicate entries.
|
- Prevent `getModules()` selectors from returning duplicate entries.
|
||||||
|
- Append endpoints of weather modules with `/` to retreive the correct data. (Issue [#337](https://github.com/MichMich/MagicMirror/issues/337))
|
||||||
|
|
||||||
## [2.0.3] - 2016-07-12
|
## [2.0.3] - 2016-07-12
|
||||||
### Added
|
### Added
|
||||||
@ -15,8 +16,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Add an analog clock in addition to the digital one.
|
- Add an analog clock in addition to the digital one.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Edit Alert Module to display title & message if they are provided in the notification (Issue #300)
|
- Edit Alert Module to display title & message if they are provided in the notification (Issue [#300](https://github.com/MichMich/MagicMirror/issues/300))
|
||||||
- Removed 'null' reference from updateModuleContent(). This fixes recent Edge and Internet Explorer browser displays (Issue #319)
|
- Removed 'null' reference from updateModuleContent(). This fixes recent Edge and Internet Explorer browser displays (Issue [#319](https://github.com/MichMich/MagicMirror/issues/319))
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Added default string to calendar titleReplace.
|
- Added default string to calendar titleReplace.
|
||||||
|
@ -164,7 +164,7 @@ Module.register("currentweather",{
|
|||||||
* Calls processWeather on succesfull response.
|
* Calls processWeather on succesfull response.
|
||||||
*/
|
*/
|
||||||
updateWeather: function() {
|
updateWeather: function() {
|
||||||
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.weatherEndpoint + this.getParams();
|
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.weatherEndpoint + '/' + this.getParams();
|
||||||
var self = this;
|
var self = this;
|
||||||
var retry = true;
|
var retry = true;
|
||||||
|
|
||||||
|
@ -161,7 +161,7 @@ Module.register("weatherforecast",{
|
|||||||
* Calls processWeather on succesfull response.
|
* Calls processWeather on succesfull response.
|
||||||
*/
|
*/
|
||||||
updateWeather: function() {
|
updateWeather: function() {
|
||||||
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + this.getParams();
|
var url = this.config.apiBase + this.config.apiVersion + "/" + this.config.forecastEndpoint + '/' + this.getParams();
|
||||||
var self = this;
|
var self = this;
|
||||||
var retry = true;
|
var retry = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user