Files
personal-website/vercel.json
Sean O'Connor a86dd857c0 Serve PDFs locally and automate updates from GitHub
- 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
2025-09-08 21:17:23 -04:00

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"
}