Files
claude-mem/install/vercel.json
Alex Newman e4e735d3ff fix: add rewrite rule so install.cmem.ai root serves install.sh
Without this, curl https://install.cmem.ai returns 404 because
Vercel has no index file mapping for the root path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 22:39:36 -05:00

23 lines
607 B
JSON

{
"$schema": "https://openapi.vercel.sh/vercel.json",
"rewrites": [
{ "source": "/", "destination": "/install.sh" }
],
"headers": [
{
"source": "/(.*)\\.sh",
"headers": [
{ "key": "Content-Type", "value": "text/plain; charset=utf-8" },
{ "key": "Cache-Control", "value": "public, max-age=300, s-maxage=60" }
]
},
{
"source": "/(.*)\\.js",
"headers": [
{ "key": "Content-Type", "value": "application/javascript; charset=utf-8" },
{ "key": "Cache-Control", "value": "public, max-age=300, s-maxage=60" }
]
}
]
}