♻ version fix

This commit is contained in:
Danilo Znamerovszkij
2025-09-26 17:46:14 +02:00
parent ea56f4a93c
commit b4d42cdcaa
3 changed files with 2 additions and 38 deletions

2
.nvmrc
View File

@@ -1 +1 @@
22.19.0
22.12.0

View File

@@ -4,7 +4,7 @@
"version": "0.0.0",
"type": "module",
"engines": {
"node": ">=20.19.0"
"node": ">=22.12.0"
},
"scripts": {
"dev": "vite",

View File

@@ -1,44 +1,8 @@
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"functions": {
"app/api/**/*.js": {
"runtime": "nodejs20.x"
}
},
"rewrites": [
{
"source": "/(.*)",
"destination": "/index.html"
}
],
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
}
]
}
]
}