summaryrefslogtreecommitdiff
path: root/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.js')
-rw-r--r--helpers.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/helpers.js b/helpers.js
index 8e4a2e3..bf95e27 100644
--- a/helpers.js
+++ b/helpers.js
@@ -21,7 +21,6 @@ function addToLog(process, status, message) {
function exportIcal(events, calendarName) {
// Create a new icalGenerator... generator
const cal = icalGenerator({
- domain: domain,
name: calendarName || siteName,
x: {
'X-WR-CALNAME': calendarName || siteName,
@@ -44,7 +43,7 @@ function exportIcal(events, calendarName) {
email: event.creatorEmail || 'anonymous@anonymous.com',
},
location: event.location,
- url: domain + '/' + event.id
+ url: 'https://' + domain + '/' + event.id
});
});
// Stringify it!