From 6fa65818fb049bf900ce3004ded89b4e1b15722a Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Thu, 12 Oct 2023 14:04:27 -0400 Subject: [PATCH] Another attempt to fix rewriters --- vercel.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vercel.json b/vercel.json index 40e224d54..e65c36e78 100644 --- a/vercel.json +++ b/vercel.json @@ -61,7 +61,7 @@ "destination": "/api/activitypub/sendNote.js" }, { - "source": "/:pathSection/:pathPage(/|/index.htm|/index.html)", + "source": "/:pathSection/:pathPage", "has": [ { "type": "header", @@ -72,7 +72,7 @@ "destination": "/:pathSection/:pathPage/status.ajson" }, { - "source": "/:pathSection/:pathPage/(/|/index.htm|/index.html)", + "source": "/:pathSection/:pathPage, "has": [ { "type": "header", @@ -83,7 +83,7 @@ "destination": "/:pathSection/:pathPage/status.ajson" }, { - "source": "/:pathSection/:pathPage/activity[/]{0,1}", + "source": "/:pathSection/:pathPage/activity", "destination": "/:pathSection/:pathPage/activity.ajson" } ], -- GitLab