fix: addresses

This commit is contained in:
2026-04-15 16:00:42 +02:00
parent 5b6ee6d57a
commit 62aafdc11a
8 changed files with 302 additions and 496 deletions

View File

@@ -54,7 +54,6 @@ const locale = computed({
const pathParts = currentPath.split('/').filter(Boolean)
cookie.setCookie('lang_id', `${langs.find((x) => x.iso_code == value)?.id}`, { days: 60, secure: true, sameSite: 'Lax' })
if (pathParts.length > 0) {
const isLocale = langs.some((l) => l.lang_code === pathParts[0])
if (isLocale) {