mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
update User-Agent-Header in calendarfetcher
This commit is contained in:
parent
e88ba1ab1c
commit
a9c4ad2895
@ -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 incorrect time zone correction of recurring full day events (#2632 and #2634).
|
||||||
- Fixed e2e tests by increasing testTimeout.
|
- Fixed e2e tests by increasing testTimeout.
|
||||||
- Revert node-ical update due to missing luxon package.
|
- 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
|
## [2.17.1] - 2021-10-01
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ const CalendarFetcher = function (url, reloadInterval, excludedEvents, maximumEn
|
|||||||
let fetcher = null;
|
let fetcher = null;
|
||||||
let httpsAgent = null;
|
let httpsAgent = null;
|
||||||
let headers = {
|
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) {
|
if (selfSignedCert) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user