chore: update nuxt to 3.10.3 (#2610)
This commit is contained in:
parent
1fefb6e5b6
commit
55037f04cd
53 changed files with 3584 additions and 3766 deletions
|
@ -56,7 +56,7 @@ export interface ThemeColors {
|
|||
}
|
||||
|
||||
export function getDefaultLanguage(languages: string[]) {
|
||||
if (process.server)
|
||||
if (import.meta.server)
|
||||
return 'en-US'
|
||||
return matchLanguages(languages, navigator.languages) || 'en-US'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue