Files
boris/vercel.json
Gigi 5a71480459 fix(api): add base tag for proper asset loading
Use named parameter syntax in Vercel rewrite and add <base href="/"> tag to ensure assets load correctly from root when serving index.html through the API.
2025-10-16 15:27:13 +02:00

14 lines
191 B
JSON

{
"rewrites": [
{
"source": "/a/:naddr",
"destination": "/api/article-og?naddr=:naddr"
},
{
"source": "/(.*)",
"destination": "/index.html"
}
]
}