diff --git a/.nvmrc b/.nvmrc index e222811..1d9b783 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -22.19.0 +22.12.0 diff --git a/package.json b/package.json index 3b65d98..17331cd 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "0.0.0", "type": "module", "engines": { - "node": ">=20.19.0" + "node": ">=22.12.0" }, "scripts": { "dev": "vite", diff --git a/vercel.json b/vercel.json index c7299c2..1323cda 100644 --- a/vercel.json +++ b/vercel.json @@ -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" - } - ] - } ] }