Skip to content

Commit 7d73c26

Browse files
committed
Use relative uris for posts.
This tripped me up during testing. All links went to the production URL. Makes more sense to make these relative I think!
1 parent a7ca142 commit 7d73c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/BlogPosts.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const {
6262
posts.map((post) => (
6363
<PostCard
6464
variant="large"
65-
url={`${BLOG_URL}${post.url}`}
65+
url={post.url}
6666
title={post.data.title}
6767
createdAt={post.data.createdAt.toISOString()}
6868
image={post.data.image}

0 commit comments

Comments
 (0)