@fy-/fws-vue 2.0.32 → 2.0.33

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=");
@@ -135,9 +135,10 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
135
135
  if (seoData.value.image) {
136
136
  if (seoData.value.image.includes("?vars=")) {
137
137
  if (seoData.value.imageType) {
138
+ remplace;
138
139
  return seoData.value.image.replace(
139
140
  "?vars=",
140
- `.${seoData.value.imageType}?vars=`,
141
+ `.${seoData.value.imageType.replace("image/", "")}?vars=`,
141
142
  );
142
143
  } else {
143
144
  return seoData.value.image.replace("?vars=", ".png?vars=");
@@ -162,7 +163,7 @@ export const useSeo = (seoData: Ref<LazyHead>, initial: boolean = false) => {
162
163
  if (seoData.value.imageType) {
163
164
  return seoData.value.image.replace(
164
165
  "?vars=",
165
- `.${seoData.value.imageType}?vars=`,
166
+ `.${seoData.value.imageType.replace("image/", "")}?vars=`,
166
167
  );
167
168
  } else {
168
169
  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.33",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "repository": {