@fy-/fws-vue 2.0.32 → 2.0.34

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.
@@ -122,7 +122,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
122
122
  if (seoData.value.imageType) {
123
123
  return seoData.value.image.replace(
124
124
  "?vars=",
125
- `.${seoData.value.imageType}?vars=`,
125
+ `.${seoData.value.imageType.replace("image/", "")}?vars=`,
126
126
  );
127
127
  } else {
128
128
  return seoData.value.image.replace("?vars=", ".png?vars=");
@@ -137,7 +137,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
137
137
  if (seoData.value.imageType) {
138
138
  return seoData.value.image.replace(
139
139
  "?vars=",
140
- `.${seoData.value.imageType}?vars=`,
140
+ `.${seoData.value.imageType.replace("image/", "")}?vars=`,
141
141
  );
142
142
  } else {
143
143
  return seoData.value.image.replace("?vars=", ".png?vars=");
@@ -162,7 +162,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
162
162
  if (seoData.value.imageType) {
163
163
  return seoData.value.image.replace(
164
164
  "?vars=",
165
- `.${seoData.value.imageType}?vars=`,
165
+ `.${seoData.value.imageType.replace("image/", "")}?vars=`,
166
166
  );
167
167
  } else {
168
168
  return seoData.value.image.replace("?vars=", ".png?vars=");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.0.32",
3
+ "version": "2.0.34",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {