Browse Source

fix broken links

restructure
Garrit Franke 3 years ago
parent
commit
ec8bf075b0
  1. 2
      README.md
  2. 4
      lib/rss.js
  3. 2
      next.config.js
  4. 2
      public/.well-known/brave-rewards-verification.txt

2
README.md

@ -2,4 +2,4 @@
This is the repository for my personal blog.
https://slashdev.space
https://blog.garrit.xyz

4
lib/rss.js

@ -45,7 +45,7 @@ const getRssXml = (blogPosts) => {
<rss version="2.0">
<channel>
<title>/dev.space</title>
<link>https://slashdev.space</link>
<link>https://blog.garrit.xyz</link>
<description>/dev.space</description>
<language>en</language>
<lastBuildDate>${rfc822Date(
@ -73,7 +73,7 @@ const blogPostsRssXml = (blogPosts) => {
<item>
<title>${post.frontmatter.title}</title>
<link>
https://slashdev.space/posts/${post.slug}
https://blog.garrit.xyz/posts/${post.slug}
</link>
<pubDate>${rfc822Date(new Date(postDate))}</pubDate>

2
next.config.js

@ -1,7 +1,7 @@
const isProd = process.env.NODE_ENV === 'production'
module.exports = {
assetPrefix: isProd ? 'https://slashdev.space' : '',
assetPrefix: isProd ? 'https://blog.garrit.xyz' : '',
webpack: function (config) {
config.module.rules.push({
test: /\.md$/,

2
public/.well-known/brave-rewards-verification.txt

@ -1,4 +1,4 @@
This is a Brave Rewards publisher verification file.
Domain: slashdev.space
Domain: blog.garrit.xyz
Token: 426e30fb7cb125131ef27dc902cb10fe14d3114f60c57a190adb672def1b59b5

Loading…
Cancel
Save