diff --git a/wastecollectionProvider_4.js b/wastecollectionProvider_4.js index 8182d00..385fc92 100644 --- a/wastecollectionProvider_4.js +++ b/wastecollectionProvider_4.js @@ -1,4 +1,4 @@ -//41.0.0"ICSId" +//41.0.1"ICSId" //provider cyclusnv.nl testdata:2421ag 233 0569200000021380 function readCalendar(wasteZipcode, wasteHouseNr, extraDates, enableCreateICS, wasteICSId, wasteStreet, wasteStreetName, wasteCity, wasteFullICSUrl) { @@ -44,7 +44,8 @@ writeWasteDates(wasteDatesString, enableCreateICS); } } - xmlhttp.open("GET", "https://afvalkalender.cyclusnv.nl/ical/" + wasteICSId, true); + // fixed endpoint + xmlhttp.open("GET", "https://cyclusnv.nl/ical/" + wasteICSId, true); xmlhttp.send(); } @@ -74,7 +75,7 @@ doc2.onreadystatechange=function() { if (doc2.readyState === 4){ if (doc2.status === 0) { - updateWasteIcon("no"); + updateWasteIcon("no"); } } }