Skip to content

Commit 1e794c1

Browse files
authored
feat: Use SSL links in RSS
Build RSS with https links instead of http links. Fixes #276
1 parent 6b9ab98 commit 1e794c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ gulp.task('generate-xml', gulp.series('validate-events', function () {
7272
xml.push("<rss version=\"2.0\">");
7373
xml.push("<channel>");
7474
xml.push("<title>Hackergarten Events</title>");
75-
xml.push("<link>http://hackergarten.net</link>");
75+
xml.push("<link>https://hackergarten.net</link>");
7676
xml.push("<language>en-en</language>");
7777
for (var i = 0; i < events.length; i++) {
7878
var event = events[i];
@@ -88,7 +88,7 @@ gulp.task('generate-xml', gulp.series('validate-events', function () {
8888
}
8989
xml.push("<item>");
9090
xml.push("<title>" + escapeHTML("Hackergarten " + event.title) + "</title>");
91-
xml.push("<link>http://hackergarten.net/#event-" + hash + "</link>");
91+
xml.push("<link>https://hackergarten.net/#event-" + hash + "</link>");
9292
xml.push("<guid>" + hash + "</guid>");
9393
xml.push("</item>\n");
9494
}

0 commit comments

Comments
 (0)