minor
This commit is contained in:
parent
6cc1177c14
commit
2f636df655
1 changed files with 1 additions and 1 deletions
|
@ -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 }) => {
|
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 {
|
return {
|
||||||
lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },
|
lang: { locales: { ca, de, en, es, eu, fr, gl, it, nb, nl, pl, pt, sk, ru, zhHans } },
|
||||||
|
|
Loading…
Reference in a new issue