Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/app/composables/head.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ export const useAppLayout = () => {
],
})

// i18n
useHeadSafe(useLocaleHead().value)

// seo
useSeoMeta({
twitterSite: SEO_META_TWITTER_SITE,
Expand Down
3 changes: 3 additions & 0 deletions src/config/modules/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export const i18nConfig: ReturnType<DefineNuxtConfig> = {
i18n: {
defaultLocale: 'en', // Must be set for the default prefix_except_default prefix strategy.
detectBrowserLanguage: false,
experimental: {
strictSeo: true,
},
locales: LOCALES,
},
}
2 changes: 1 addition & 1 deletion tests/e2e/utils/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export const testMetadata = async ({
},
{
key: 'href',
value: `${SITE_URL}${path}`,
value: withoutTrailingSlash(`${SITE_URL}${path}`),
},
],
},
Expand Down
Loading