This commit is contained in:
lesion 2023-09-25 22:45:34 +02:00
parent 6cc1177c14
commit 2f636df655
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -3,7 +3,7 @@ import { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } from
export default ({ res, nuxtState }) => {
const settings = process.server ? res.locals.settings : nuxtState.state.settings
const settings = process.server ? (res.locals.settings || {}) : nuxtState.state.settings || {}
return {
lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },