From c767078fd1e83f6e224cc8e1fb3dec2ad4cf9c46 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Fri, 13 Oct 2023 16:24:42 -0400 Subject: [PATCH] Well that broke web browsers... so trying again --- vercel.json | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/vercel.json b/vercel.json index 99ecdaaad..c22135d0c 100644 --- a/vercel.json +++ b/vercel.json @@ -16,28 +16,18 @@ } ], "rewrites": [ - { - "source": "/([^/]*)/(.*)/", - "missing": [ - { - "type": "header", - "key": "Accept", - "value": "text/html" - } - ], - "destination": "/$1/$2/status.ajson" - }, { "source": "/([^/]*)/(.*)/", "has": [ { "type": "header", "key": "Accept", - "value": "text/html" + "value": "application/activity\\+json" } ], - "destination": "/$1/$2/status.html" + "destination": "/$1/$2/status.ajson" }, + { "source": "/([^/]*)/(.*)/activity", "destination": "/$1/$2/activity.ajson" -- GitLab