@fy-/fws-vue 2.1.7 → 2.1.8

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.
@@ -31,7 +31,7 @@ export interface LazyHead {
31
31
  export function useSeo(seoData: Ref<LazyHead>, initial: boolean = false) {
32
32
  const route = useRoute()
33
33
  const currentLocale = getLocale()
34
- const url = getURL()
34
+ // const url = getURL()
35
35
 
36
36
  useHead({
37
37
  meta: () => {
@@ -48,6 +48,8 @@ export function useSeo(seoData: Ref<LazyHead>, initial: boolean = false) {
48
48
  },
49
49
  link: () => {
50
50
  const links: any[] = []
51
+
52
+ /*
51
53
  const page
52
54
  = route.query.page && Number.parseInt(route.query.page.toString()) > 1
53
55
  ? `?page=${route.query.page}`
@@ -57,6 +59,7 @@ export function useSeo(seoData: Ref<LazyHead>, initial: boolean = false) {
57
59
  rel: 'canonical',
58
60
  href: `${url.Scheme}://${url.Host}${getURL().Path}${page}`,
59
61
  })
62
+ */
60
63
 
61
64
  seoData.value.alternateLocales?.forEach((locale) => {
62
65
  if (locale !== currentLocale) {
@@ -71,6 +74,7 @@ export function useSeo(seoData: Ref<LazyHead>, initial: boolean = false) {
71
74
  }
72
75
  })
73
76
 
77
+ /*
74
78
  if (seoData.value.image) {
75
79
  links.push({
76
80
  rel: 'preload',
@@ -79,6 +83,7 @@ export function useSeo(seoData: Ref<LazyHead>, initial: boolean = false) {
79
83
  fetchpriority: 'high',
80
84
  })
81
85
  }
86
+ */
82
87
 
83
88
  return links
84
89
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fy-/fws-vue",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "author": "Florian 'Fy' Gasquez <m@fy.to>",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/fy-to/FWJS#readme",