From 0715889672f1580437ba09713cd1685b3b80cf59 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Thu, 12 Oct 2023 15:13:58 -0400 Subject: [PATCH] Lets try this a different way --- vercel.json | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/vercel.json b/vercel.json index 689907fb0..601eab39d 100644 --- a/vercel.json +++ b/vercel.json @@ -2,6 +2,11 @@ "public": true, "framework": "hugo", "redirects": [ + { + "source": "/news/(.*)/", + + "destination": "/news/$1/status.ajson" + }, { "source": "/amp/(.+)/", "destination": "/$1/" @@ -17,17 +22,6 @@ { "source": "/activitypub-support-added/", "destination": "/news/activitypub-support-added/" - }, - { - "source": "/news/:pathPage/", - "has": [ - { - "type": "header", - "key": "Accept", - "value": "application/activity+json" - } - ], - "destination": "/news/:pathPage/status.ajson" } ], "rewrites": [ -- GitLab