mirror of
https://github.com/soconnor0919/personal-website.git
synced 2025-12-11 06:14:44 -05:00
- Add scripts/update-pdfs.js to download latest PDFs - Add cv.pdf and resume.pdf to public/publications - Update build script to run update-pdfs before next build - Switch CV and resume URLs to local files in cv/page.tsx - Add .vercel to .gitignore and vercel.json for deployment config - Update Next.js to 15.5.2 in package.json and bun.lock - Update next-env.d.ts and tsconfig.json for new types and script exclusion
37 lines
703 B
JSON
37 lines
703 B
JSON
{
|
|
"buildCommand": "bun run build",
|
|
"installCommand": "bun install",
|
|
"functions": {
|
|
"src/app/api/**/*.ts": {
|
|
"maxDuration": 30
|
|
}
|
|
},
|
|
"headers": [
|
|
{
|
|
"source": "/publications/(.*)\\.pdf",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=86400, s-maxage=86400"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/pdf"
|
|
},
|
|
{
|
|
"key": "Content-Disposition",
|
|
"value": "inline"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/publications/:filename",
|
|
"destination": "/publications/:filename"
|
|
}
|
|
],
|
|
|
|
"framework": "nextjs"
|
|
}
|