diff --git a/vercel.json b/vercel.json index b81d4cafe1bf6529b29124cd839a15acfeacc9f5..a273ea61b3040ce330e062a50e234c0e7cf4a69e 100644 --- a/vercel.json +++ b/vercel.json @@ -27,6 +27,17 @@ ], "destination": "/$1/$2/status.ajson" }, + { + "source": "/([^/]*)/(.*)/", + "has": [ + { + "type": "header", + "key": "Accept", + "value": "application/json" + } + ], + "destination": "/$1/$2/status.ajson" + }, { "source": "/([^/]*)/(.*)/", "missing": [ @@ -34,6 +45,11 @@ "type": "header", "key": "Accept", "value": "application/activity\\+json" + }, + { + "type": "header", + "key": "Accept", + "value": "application/json" } ], "destination": "/$1/$2/status.html"