feat(vercel): add rewrite rule for article OG endpoint

Route /a/:naddr requests to /api/article-og for dynamic social preview tags.
This commit is contained in:
Gigi
2025-10-16 16:00:36 +02:00
parent 2aa6536496
commit 9bad49fe5f

View File

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