Luckystriike
OGImage not showing
Did something like this
“
const config = useRuntimeConfig();
// data
const item = ref<Equipment | null>(null);
useSeoMeta({
ogTitle: () =>
${item.value?.name} - Luckys crafting site
,
ogImage: () => ${config.public.BASEURI}/Icons/${item.value?.icon}
+ "?timestamp=" + Date.now(),
ogDescription: () => {
var string = "";
item.value?.materials.forEach(i => {
string += ${i.amount}x ${i.name},
})
return string;
},
ogImageWidth: 80,
ogImageHeight: 80
})”66 replies