Skip to content

Commit

Permalink
Fix bad OG image paths
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonappah committed Jun 23, 2024
1 parent 45905ea commit 295ae4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layouts/base.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ interface Props {
}
const {url} = Astro
const ogImage = url.origin + '/og' + (url.pathname === '/' ? '/index' : url.pathname) + '.png'
let ogImage = (url.origin + '/og' + (url.pathname === '/' ? '/index' : url.pathname)).replace(/\/$/, '') + '.png'
const site = 'Comet Robotics at UT Dallas'
const { title } = Astro.props
Expand Down

0 comments on commit 295ae4c

Please sign in to comment.