Skip to content

Commit

Permalink
Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
latenitefilms committed Jun 13, 2023
1 parent a7f253e commit 56d68fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/generate-rss.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ glob(newsDir + '/*.md', function(err, files) {
content = content.replace(/{{ include ".*" }}/g, '')
.replace(/\!\[([^\]]*)\]\(([^)]*)\)/g, (match, alt, src) => {
if (src.startsWith('../')) {
src = `https://fcp.cafe/${src.substring(3)}`;
src = `https://resolve.cafe/${src.substring(3)}`;
}
return `<img src="${src}" alt="${alt}">`;
})
Expand Down Expand Up @@ -139,6 +139,6 @@ if (isContentChanged) {
const newLastBuildDate = new Date().toUTCString();
newXMLContent = newXMLContent.replace(/<lastBuildDate>.*<\/lastBuildDate>/, `<lastBuildDate>${newLastBuildDate}</lastBuildDate>`);
newXMLContent = newXMLContent.replace(/{target=&quot;_blank&quot;}/g, '');
newXMLContent = newXMLContent.replace(/\.\.\/static\//g, 'https://fcp.cafe/static/');
newXMLContent = newXMLContent.replace(/\.\.\/static\//g, 'https://resolve.cafe/static/');
fs.writeFileSync('docs/rss.xml', newXMLContent);
}
2 changes: 1 addition & 1 deletion docs/retype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ links:
icon: bug

- text: Discussions
link: https://github.com/CommandPost/FCPCafe/discussions
link: https://github.com/CommandPost/ResolveCafe/discussions
icon: comment-discussion
target: blank

Expand Down

0 comments on commit 56d68fa

Please sign in to comment.