mirror of
https://github.com/thedotmack/claude-mem
synced 2026-04-26 01:25:10 +02:00
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>
23 lines
607 B
JSON
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" }
|
|
]
|
|
}
|
|
]
|
|
}
|