mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-05 07:08:19 +00:00
Merge pull request #1401 from ubertao/pr-calender-gzip
Pr calender gzip
This commit is contained in:
commit
48c72e319b
@ -4,7 +4,6 @@ All notable changes to this project will be documented in this file.
|
|||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## [2.5.0] - Unreleased
|
## [2.5.0] - Unreleased
|
||||||
|
|
||||||
*This release is scheduled to be released on 2018-10-01.*
|
*This release is scheduled to be released on 2018-10-01.*
|
||||||
@ -21,6 +20,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
- Support for showing end of events through config parameters showEnd and dateEndFormat
|
- Support for showing end of events through config parameters showEnd and dateEndFormat
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- Fixed gzip encoded calendar loading issue #1400.
|
||||||
- Mixup between german and spanish translation for newsfeed.
|
- Mixup between german and spanish translation for newsfeed.
|
||||||
- Fixed close dates to be absolute, if no configured in the config.js - module Calendar
|
- Fixed close dates to be absolute, if no configured in the config.js - module Calendar
|
||||||
- Fixed the UpdateNotification module message about new commits in the repository, so they can be correctly localized in singular and plural form.
|
- Fixed the UpdateNotification module message about new commits in the repository, so they can be correctly localized in singular and plural form.
|
||||||
|
@ -29,7 +29,8 @@ var CalendarFetcher = function(url, reloadInterval, excludedEvents, maximumEntri
|
|||||||
var opts = {
|
var opts = {
|
||||||
headers: {
|
headers: {
|
||||||
"User-Agent": "Mozilla/5.0 (Node.js "+ nodeVersion + ") MagicMirror/" + global.version + " (https://github.com/MichMich/MagicMirror/)"
|
"User-Agent": "Mozilla/5.0 (Node.js "+ nodeVersion + ") MagicMirror/" + global.version + " (https://github.com/MichMich/MagicMirror/)"
|
||||||
}
|
},
|
||||||
|
gzip: true
|
||||||
};
|
};
|
||||||
|
|
||||||
if (auth) {
|
if (auth) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user