diff --git a/public/src/app.js b/public/src/app.js index aa02de6..fcc437c 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -39,7 +39,7 @@ Vue.use(VueI18n); Vue.use(VueRouter); const i18n = new VueI18n({ - locale: navigator.language.split('-')[0], + locale: navigator.language ? navigator.language.split('-')[0] : null, fallbackLocale: 'en', messages: messages });