Fixed: webcal url now has the apikey embedded to support more third-party webcal clients.

This commit is contained in:
Taloth Saldono
2014-06-26 22:34:11 +02:00
parent a75ce9ab87
commit 1e538dc7cc
3 changed files with 15 additions and 23 deletions

View File

@@ -15,7 +15,7 @@ define(
templateHelpers: {
icalHttpUrl : window.location.protocol + '//' + window.location.host + StatusModel.get('urlBase') + '/feed/calendar/NzbDrone.ics?apikey=' + window.NzbDrone.ApiKey,
icalWebCalUrl : 'webcal://' + window.location.host + StatusModel.get('urlBase') + '/feed/calendar/NzbDrone.ics'
icalWebCalUrl : 'webcal://' + window.location.host + StatusModel.get('urlBase') + '/feed/calendar/NzbDrone.ics?apikey=' + window.NzbDrone.ApiKey
},
onShow: function () {