Skip to content

Commit

Permalink
Merge pull request #131 from thematters/feat/new-ui
Browse files Browse the repository at this point in the history
fix: correctLink
  • Loading branch information
robertu7 authored Nov 29, 2022
2 parents dc53001 + 143e08a commit 9a17405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@matters/ipns-site-generator",
"version": "0.1.0-alpha.11",
"version": "0.1.0-alpha.12",
"description": "IPNS site generator for matters.news",
"author": "https://github.com/thematters",
"homepage": "https://github.com/matters-ipns-site-generator",
Expand Down
2 changes: 1 addition & 1 deletion src/render/views/shared/scripts/rssEntrances.njk
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Array.prototype.forEach.call($links, function($el) {
function correctLink($el, filename) {
// e.g. -> ipfs.io/ipns/rss.xml
if (isGateway) {
$el.setAttribute('href', protocol + host + '/ipns/' + ipnsKey + '/' + filename);
$el.setAttribute('href', protocol + '//' + host + '/ipns/' + ipnsKey + '/' + filename);
return;
}
Expand Down

0 comments on commit 9a17405

Please sign in to comment.