From 9bad49fe5fde51c76160e4d766fd9862cf4994b2 Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 16 Oct 2025 16:00:36 +0200 Subject: [PATCH] feat(vercel): add rewrite rule for article OG endpoint Route /a/:naddr requests to /api/article-og for dynamic social preview tags. --- vercel.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vercel.json b/vercel.json index f9c6977a..891d4ef1 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,9 @@ { "rewrites": [ + { + "source": "/a/:naddr", + "destination": "/api/article-og?naddr=:naddr" + }, { "source": "/(.*)", "destination": "/index.html"