From e382e691aa2ef52af5245b6f3279f5cf6c8ed157 Mon Sep 17 00:00:00 2001 From: Raphael Kabo Date: Sun, 24 Apr 2022 14:14:46 +0100 Subject: fix: Debug ICS feed frontend display --- helpers.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'helpers.js') 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! -- cgit v1.2.3