Skip to content

Commit 73cc88b

Browse files
committed
Update urls
1 parent 2d3809a commit 73cc88b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apps/web/app/blog/feed.xml/route.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ export async function GET() {
1010
title: "Code Hike",
1111
description: "Markdown, React and everything in between.",
1212
generator: "RSS for Node and Next.js",
13-
feed_url: "https://v1.codehike.org/blog/feed.xml",
14-
site_url: "https://v1.codehike.org/blog",
13+
feed_url: "https://codehike.org/blog/feed.xml",
14+
site_url: "https://codehike.org/blog",
1515
language: "en-US",
1616
pubDate: new Date().toUTCString(),
1717
ttl: 120,
18-
image_url: "https://v1.codehike.org/logo.png",
18+
image_url: "https://codehike.org/logo.png",
1919
})
2020

2121
posts.map(({ data, url }) => {
2222
feed.item({
2323
title: data.title,
2424
description: data.description || "",
25-
url: `https://v1.codehike.org${url}`,
25+
url: `https://codehike.org${url}`,
2626
author: data.authors[0],
2727
date: data.date,
2828
})

apps/web/app/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const metadata: Metadata = {
2929
title: "Code Hike",
3030
description:
3131
"Use Markdown and React to build rich content websites. Documentation, tutorials, blogs, videos, interactive walkthroughs, and more.",
32-
metadataBase: new URL("https://v1.codehike.org"),
32+
metadataBase: new URL("https://codehike.org"),
3333
openGraph: {
3434
title: "Code Hike",
3535
images: `/codehike.png`,
@@ -43,7 +43,7 @@ export const metadata: Metadata = {
4343
},
4444
alternates: {
4545
types: {
46-
"application/rss+xml": "https://v1.codehike.org/blog/feed.xml",
46+
"application/rss+xml": "https://codehike.org/blog/feed.xml",
4747
},
4848
},
4949
}

0 commit comments

Comments
 (0)