diff --git a/vercel.json b/vercel.json index da068f44833bf814fcdeaeda8820ad12e8e714a7..f3af94b4b32bbdbc8932409e1b75d51d34d19b02 100644 --- a/vercel.json +++ b/vercel.json @@ -61,9 +61,15 @@ "destination": "/api/activitypub/sendNote.js" }, { - "source": "/:pathSection/:pathPage/", - - "destination": "/:pathSection/:pathPage/status.ajson" + "source": "/news/:pathPage/", + "has": [ + { + "type": "header", + "key": "Accept", + "value": "application/activity+json" + } + ], + "destination": "/news/:pathPage/status.ajson" }, { "source": "/:pathSection/:pathPage/activity",