From cc8d81ae3d4acad88f2861c7fd969e2eb557fb1e Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Thu, 12 Oct 2023 13:49:11 -0400
Subject: [PATCH] Attempting to fix bug with rewrites for detecting headers

---
 vercel.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vercel.json b/vercel.json
index 3132c1573..40e224d54 100644
--- a/vercel.json
+++ b/vercel.json
@@ -61,7 +61,7 @@
       "destination": "/api/activitypub/sendNote.js"
     },
     {
-      "source": "/:pathSection/:pathPage/",
+      "source": "/:pathSection/:pathPage(/|/index.htm|/index.html)",
       "has": [
         {
           "type": "header",
@@ -72,7 +72,7 @@
       "destination": "/:pathSection/:pathPage/status.ajson"
     },
     {
-      "source": "/:pathSection/:pathPage/",
+      "source": "/:pathSection/:pathPage/(/|/index.htm|/index.html)",
       "has": [
         {
           "type": "header",
@@ -83,7 +83,7 @@
       "destination": "/:pathSection/:pathPage/status.ajson"
     },
     {
-      "source": "/:pathSection/:pathPage/activity",
+      "source": "/:pathSection/:pathPage/activity[/]{0,1}",
       "destination": "/:pathSection/:pathPage/activity.ajson"
     }
   ],
-- 
GitLab