feat: Preparar app para deploy na Vercel (mantendo Netlify)

This commit is contained in:
2026-02-24 08:08:11 -03:00
parent d028e51615
commit da6b1c8847
5 changed files with 426 additions and 4 deletions

View File

@@ -1,4 +1,7 @@
{
"buildCommand": "npm run build",
"outputDirectory": "dist",
"framework": "vite",
"rewrites": [
{
"source": "/(.*)",
@@ -16,13 +19,30 @@
]
},
{
"source": "/(.*\\\\.(js|css|png|jpg|jpeg|gif|ico|svg))$",
"source": "/(.*\\.(js|css|png|jpg|jpeg|gif|ico|svg))$",
"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"
}
]
}
]
}