@fy-/fws-vue 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -115,13 +115,17 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
115
115
  ogImageSecureUrl: () => seoData.value.image,
116
116
  ogImageType: () => {
117
117
  if (seoData.value.imageType) {
118
- return seoData.value.imageType ? seoData.value.imageType : "image/png";
118
+ return seoData.value.imageType
119
+ ? "image/" + seoData.value.imageType
120
+ : "image/png";
119
121
  }
120
122
  return undefined;
121
123
  },
122
124
  twitterImageType() {
123
125
  if (seoData.value.imageType) {
124
- return seoData.value.imageType ? seoData.value.imageType : "image/png";
126
+ return seoData.value.imageType
127
+ ? "image/" + seoData.value.imageType
128
+ : "image/png";
125
129
  }
126
130
  return undefined;
127
131
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.06",
3
+ "version": "2.0.07",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {