@dargmuesli/nuxt-vio 5.0.1 → 5.0.2
Sign up to get free protection for your applications and to get access to all the features.
- package/nuxt.config.ts +1 -17
- package/package.json +1 -1
- package/utils/constants.ts +0 -1
package/nuxt.config.ts
CHANGED
@@ -5,7 +5,6 @@ import { defu } from 'defu'
|
|
5
5
|
|
6
6
|
import {
|
7
7
|
SITE_URL,
|
8
|
-
I18N_COOKIE_NAME,
|
9
8
|
I18N_MODULE_CONFIG,
|
10
9
|
SITE_NAME,
|
11
10
|
TIMEZONE_COOKIE_NAME,
|
@@ -95,18 +94,6 @@ export default defineNuxtConfig(
|
|
95
94
|
},
|
96
95
|
targetCookieIds: ['ncc_c', 'ncc_e'],
|
97
96
|
},
|
98
|
-
{
|
99
|
-
description: {
|
100
|
-
de: 'Dieser Cookie von uns speichert die Sprache, in der diese Webseite angezeigt wird.',
|
101
|
-
en: "This cookie of ours stores the language that's used to display this website.",
|
102
|
-
},
|
103
|
-
id: 'l',
|
104
|
-
name: {
|
105
|
-
de: 'Sprache',
|
106
|
-
en: 'Language',
|
107
|
-
},
|
108
|
-
targetCookieIds: [I18N_COOKIE_NAME],
|
109
|
-
},
|
110
97
|
{
|
111
98
|
description: {
|
112
99
|
de: 'Dieser Cookie von uns speichert die Zeitzone, in der sich das Gerät zu befinden scheint.',
|
@@ -144,10 +131,7 @@ export default defineNuxtConfig(
|
|
144
131
|
},
|
145
132
|
i18n: {
|
146
133
|
baseUrl: SITE_URL,
|
147
|
-
detectBrowserLanguage:
|
148
|
-
cookieKey: I18N_COOKIE_NAME,
|
149
|
-
cookieSecure: true,
|
150
|
-
},
|
134
|
+
detectBrowserLanguage: false,
|
151
135
|
},
|
152
136
|
linkChecker: {
|
153
137
|
failOnError: true,
|
package/package.json
CHANGED
package/utils/constants.ts
CHANGED
@@ -13,7 +13,6 @@ export const CACHE_VERSION = 'bOXMwoKlJr'
|
|
13
13
|
export const COOKIE_PREFIX = SITE_NAME.toLocaleLowerCase()
|
14
14
|
export const COOKIE_SEPARATOR = '_'
|
15
15
|
export const FETCH_RETRY_AMOUNT = 3
|
16
|
-
export const I18N_COOKIE_NAME = 'i18n_r'
|
17
16
|
export const I18N_MODULE_CONFIG = {
|
18
17
|
langDir: 'locales',
|
19
18
|
lazy: true,
|