Skip to content

Commit f1fe47d

Browse files
committed
Merge remote-tracking branch 'origin/main' into chore-add-vacations-page
2 parents 7f3c9a7 + ff63e33 commit f1fe47d

File tree

6 files changed

+16
-2
lines changed

6 files changed

+16
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ file-tree-sprite.svg
4545

4646
# output
4747
.vercel
48+
.nvmrc

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
24

app/pages/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ defineOgImageComponent('Default', {
110110
<ButtonBase
111111
type="submit"
112112
variant="primary"
113-
class="absolute inset-ie-2"
113+
class="absolute inset-ie-2 border-transparent"
114114
classicon="i-carbon:search"
115115
>
116116
<span class="sr-only sm:not-sr-only">

nuxt.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ export default defineNuxtConfig({
228228

229229
htmlValidator: {
230230
enabled: !isCI || (provider !== 'vercel' && !!process.env.VALIDATE_HTML),
231+
options: {
232+
rules: { 'meta-refresh': 'off' },
233+
},
231234
failOnError: true,
232235
},
233236

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"vue-tsc": "3.2.4"
143143
},
144144
"engines": {
145-
"node": ">=24"
145+
"node": "24"
146146
},
147147
"simple-git-hooks": {
148148
"pre-commit": "npx lint-staged"

server/plugins/fallback-ui.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
export default defineNitroPlugin(nitroApp => {
2+
if (import.meta.prerender) {
3+
nitroApp.hooks.hook('render:html', (html, { event }) => {
4+
if (event.path === '/200.html') {
5+
html.head.push('<noscript><meta http-equiv="refresh" content="1"></noscript>')
6+
}
7+
})
8+
}
9+
})

0 commit comments

Comments
 (0)