Skip to content

Commit

Permalink
Use relative uris for posts.
Browse files Browse the repository at this point in the history
This tripped me up during testing. All links went to the production URL.
Makes more sense to make these relative I think!
  • Loading branch information
evert committed Oct 9, 2024
1 parent 2b0010b commit 602cdae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/BlogPosts.astro
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const {
posts.map((post) => (
<PostCard
variant="large"
url={`${BLOG_URL}${post.url}`}
url={post.url}
title={post.data.title}
createdAt={post.data.createdAt.toISOString()}
image={post.data.image}
Expand Down

0 comments on commit 602cdae

Please sign in to comment.