From a74f2eefaee8b45d5c3f5416d7446a1a1c37b93f Mon Sep 17 00:00:00 2001
From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me>
Date: Fri, 13 Oct 2023 15:07:34 -0400
Subject: [PATCH] Made rewrites more specific

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

diff --git a/vercel.json b/vercel.json
index a32ad9d28..ebad81f7e 100644
--- a/vercel.json
+++ b/vercel.json
@@ -61,7 +61,7 @@
       "destination": "/api/activitypub/sendNote.js"
     },
     {
-      "source": "/:pathSection/:pathPage/",
+      "source": "/news/:pathPage/",
       "has": [
         {
           "type": "header",
@@ -69,10 +69,10 @@
           "value": "application/activity+json"
         }
       ],
-      "destination": "/:pathSection/pathPage/status.ajson"
+      "destination": "/news/pathPage/status.ajson"
     },
     {
-      "source": "/:pathSection/:pathPage/",
+      "source": "/news/:pathPage/",
       "missing": [
         {
           "type": "header",
@@ -80,11 +80,11 @@
           "value": "application/activity+json"
         }
       ],
-      "destination": "/:pathSection/pathPage/status.html"
+      "destination": "/news/pathPage/status.html"
     },
     {
-      "source": "/:pathSection/:pathPage/activity",
-      "destination": "/:pathSection/:pathPage/activity.ajson"
+      "source": "/news/:pathPage/activity",
+      "destination": "/news/:pathPage/activity.ajson"
     }
   ],
   "functions": {
-- 
GitLab