Skip to content

Commit bc4393e

Browse files
committed
chore(i18n): use strict seo
1 parent 1b330c6 commit bc4393e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/composables/head.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ export const useAppLayout = () => {
4646
],
4747
})
4848

49-
// i18n
50-
useHeadSafe(useLocaleHead().value)
51-
5249
// seo
5350
useSeoMeta({
5451
twitterSite: SEO_META_TWITTER_SITE,

src/config/modules/i18n.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ export const i18nConfig: ReturnType<DefineNuxtConfig> = {
66
i18n: {
77
defaultLocale: 'en', // Must be set for the default prefix_except_default prefix strategy.
88
detectBrowserLanguage: false,
9+
experimental: {
10+
strictSeo: true,
11+
},
912
locales: LOCALES,
1013
},
1114
}

tests/e2e/utils/tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ export const testMetadata = async ({
302302
},
303303
{
304304
key: 'href',
305-
value: `${SITE_URL}${path}`,
305+
value: withoutTrailingSlash(`${SITE_URL}${path}`),
306306
},
307307
],
308308
},

0 commit comments

Comments
 (0)