@dargmuesli/nuxt-vio 23.0.0-beta.8 → 23.0.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node/networking.ts +2 -4
- package/nuxt.config.ts +1 -0
- package/package.json +4 -3
- package/server/plugins/seo.ts +0 -7
package/node/networking.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import type { H3Event } from 'h3'
|
|
2
|
-
|
|
3
1
|
import { SERVICES } from './services'
|
|
4
2
|
import type { Service, ServiceName } from './services'
|
|
5
3
|
import { SITE_URL_TYPED } from './static'
|
|
6
4
|
|
|
7
|
-
export const getHost = (event:
|
|
8
|
-
const host = event.
|
|
5
|
+
export const getHost = (event: { headers: Headers }) => {
|
|
6
|
+
const host = event.headers.get('host')
|
|
9
7
|
|
|
10
8
|
if (!host) throw new Error('Host header is not given!')
|
|
11
9
|
|
package/nuxt.config.ts
CHANGED
|
@@ -380,6 +380,7 @@ export default defineNuxtConfig(
|
|
|
380
380
|
credits: false,
|
|
381
381
|
zeroRuntime: true,
|
|
382
382
|
},
|
|
383
|
+
skewProtection: false, // needs storage that persists across builds (https://nuxtseo.com/docs/skew-protection/guides/storage-configuration), which docker builds in ci do not provide
|
|
383
384
|
|
|
384
385
|
// environments
|
|
385
386
|
$development: {
|
package/package.json
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"@nuxtjs/color-mode": "4.0.1",
|
|
13
13
|
"@nuxtjs/html-validator": "2.1.0",
|
|
14
14
|
"@nuxtjs/i18n": "10.6.0",
|
|
15
|
-
"@nuxtjs/seo": "
|
|
15
|
+
"@nuxtjs/seo": "6.0.1",
|
|
16
16
|
"@nuxtjs/turnstile": "1.1.3",
|
|
17
17
|
"@pinia/nuxt": "1.0.2",
|
|
18
18
|
"@sentry/nuxt": "10.71.0",
|
|
19
19
|
"@tailwindcss/forms": "0.5.11",
|
|
20
20
|
"@tailwindcss/typography": "0.5.20",
|
|
21
21
|
"@tailwindcss/vite": "4.3.3",
|
|
22
|
-
"@takumi-rs/core": "2.
|
|
22
|
+
"@takumi-rs/core": "2.15.1",
|
|
23
23
|
"@types/lodash-es": "4.17.12",
|
|
24
24
|
"@types/nodemailer": "8.0.2",
|
|
25
25
|
"@urql/core": "6.0.3",
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
"defu": "6.1.7",
|
|
58
58
|
"lodash-es": "4.18.1",
|
|
59
59
|
"nuxt": "4.6.1",
|
|
60
|
+
"nuxtseo-devtools-host": "1.0.1",
|
|
60
61
|
"pinia": "4.0.3",
|
|
61
62
|
"postcss-html": "2.0.0",
|
|
62
63
|
"prettier": "3.9.9",
|
|
@@ -103,7 +104,7 @@
|
|
|
103
104
|
"url": "git+https://github.com/dargmuesli/vio.git"
|
|
104
105
|
},
|
|
105
106
|
"type": "module",
|
|
106
|
-
"version": "23.0.0-beta.
|
|
107
|
+
"version": "23.0.0-beta.9",
|
|
107
108
|
"scripts": {
|
|
108
109
|
"build": "pnpm run build:node",
|
|
109
110
|
"build:node": "NUXT_PUBLIC_I18N_BASE_URL=https://app.localhost:3001 nuxt build playground",
|