diff --git a/vercel.json b/vercel.json
index 18a208c30fe277c23c5a4a7a86e7113c6cd4ed3d..689907fb00815e7f53896edc5bbea97934f6c7a2 100644
--- a/vercel.json
+++ b/vercel.json
@@ -17,6 +17,17 @@
{
"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": [
@@ -60,11 +71,6 @@
"source": "/send-note",
"destination": "/api/activitypub/sendNote.js"
},
- {
- "source": "/news/:pathPage/",
-
- "destination": "/news/:pathPage/status.ajson"
- },
{
"source": "/:pathSection/:pathPage/activity",
"destination": "/:pathSection/:pathPage/activity.ajson"