summaryrefslogtreecommitdiff
path: root/helpers.js
diff options
context:
space:
mode:
authorRaphael Kabo <mail@raphaelkabo.com>2022-04-24 14:14:46 +0100
committerRaphael Kabo <mail@raphaelkabo.com>2022-04-24 14:14:46 +0100
commite382e691aa2ef52af5245b6f3279f5cf6c8ed157 (patch)
tree1ef476d26b3fe8753e13495f478afbaaa9c3f738 /helpers.js
parent0bf9e7d921a8725cc56e0741022a7510a3b025ce (diff)
fix: Debug ICS feed frontend display
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!