update User-Agent-Header in calendarfetcher

This commit is contained in:
Karsten Hassel 2021-12-13 23:00:07 +01:00
parent e88ba1ab1c
commit a9c4ad2895
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ _This release is scheduled to be released on 2022-01-01._
- Fixed incorrect time zone correction of recurring full day events (#2632 and #2634).
- Fixed e2e tests by increasing testTimeout.
- Revert node-ical update due to missing luxon package.
- Fixed User-Agent-Header for newsfeed module (#2729).
- Fixed User-Agent-Header for newsfeed and calendar module (#2729).
## [2.17.1] - 2021-10-01

View File

@ -41,7 +41,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
let fetcher = null;
let httpsAgent = null;
let 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
};
if (selfSignedCert) {