test(og image): alter absolute path of generated open graph png meta header file to full uri path starting with the prefix of https://toshiki.dev/og-images/* preventing og images not being able to load on link preview data fetching

This commit is contained in:
Anda Toshiki 2024-09-11 08:51:14 +00:00
parent 6aed45fb54
commit 0b3debeb96

View File

@ -52,7 +52,7 @@ export default Vue.extend({
const tags = getTags?.join(', ') || title
const href = `https://toshiki.dev${this.$route?.path}`
const image = `/og-images/${post.slug}.png`
const image = `https://toshiki.dev/og-images/${post.slug}.png`
return {
bodyAttrs: {