Skip to content

Commit

Permalink
feat: Use SSL links in RSS
Browse files Browse the repository at this point in the history
Build RSS with https links instead of http links.

Fixes #276
  • Loading branch information
PReimers authored Sep 20, 2023
1 parent 6b9ab98 commit 1e794c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ gulp.task('generate-xml', gulp.series('validate-events', function () {
xml.push("<rss version=\"2.0\">");
xml.push("<channel>");
xml.push("<title>Hackergarten Events</title>");
xml.push("<link>http://hackergarten.net</link>");
xml.push("<link>https://hackergarten.net</link>");
xml.push("<language>en-en</language>");
for (var i = 0; i < events.length; i++) {
var event = events[i];
Expand All @@ -88,7 +88,7 @@ gulp.task('generate-xml', gulp.series('validate-events', function () {
}
xml.push("<item>");
xml.push("<title>" + escapeHTML("Hackergarten " + event.title) + "</title>");
xml.push("<link>http://hackergarten.net/#event-" + hash + "</link>");
xml.push("<link>https://hackergarten.net/#event-" + hash + "</link>");
xml.push("<guid>" + hash + "</guid>");
xml.push("</item>\n");
}
Expand Down

0 comments on commit 1e794c1

Please sign in to comment.