Skip to content

Commit

Permalink
feat: add og image url
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Mar 30, 2024
1 parent 39a227f commit 961dd80
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup>
const config = useRuntimeConfig()
const route = useRoute()
useHead({
htmlAttrs: {
Expand Down Expand Up @@ -44,6 +44,14 @@
themeColor: '#000',
monetization: '$ilp.uphold.com/Hf3zAn3pQ7fD'
// ogImage: () => ({
// url:
// 'https://screenshot.akbal.dev/v1/capture?width=1200&height=630&url=' +
// encodeURIComponent('https://r34.app' + route.fullPath),
// width: 1200,
// height: 630
// })
})
// useSchemaOrg([
Expand Down

0 comments on commit 961dd80

Please sign in to comment.