From 97163d751fc42e88872c77ea715908785d10565a Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Fri, 13 Oct 2023 15:55:56 -0400 Subject: [PATCH] Trying to escape the + --- vercel.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/vercel.json b/vercel.json index 15fcfecea..82ccf0400 100644 --- a/vercel.json +++ b/vercel.json @@ -26,12 +26,22 @@ { "type": "header", "key": "Accept", - "value": "application/json" + "value": "application/activity\+json" } ], "destination": "/$1/$2/status.ajson" }, - + { + "source": "/([^/]*)/(.*)/", + "has": [ + { + "type": "header", + "key": "Accept", + "value": "text/html" + } + ], + "destination": "/$1/$2/status.html" + }, { "source": "/([^/]*)/(.*)/activity", "destination": "/$1/$2/activity.ajson" -- GitLab