From 19f0808271a0110ec7e7a8fee1f329fe62c50a4d Mon Sep 17 00:00:00 2001 From: sirpiglr <49359077-sirpiglr@users.noreply.replit.com> Date: Mon, 8 Dec 2025 01:12:04 +0000 Subject: [PATCH] Update URL matching for activity route to include subpaths Adjust the source pattern in vercel.json for the /activity route to capture any subpaths, ensuring correct header application for Discord Activities. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9203795e-937a-4306-b81d-b4d5c78c240e Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 8471355a-baee-434c-9953-ec500dea5932 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7c94b7a0-29c7-4f2e-94ef-44b2153872b7/9203795e-937a-4306-b81d-b4d5c78c240e/qPXTzuE Replit-Helium-Checkpoint-Created: true --- vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vercel.json b/vercel.json index 82089f30..bf9eeec6 100644 --- a/vercel.json +++ b/vercel.json @@ -133,7 +133,7 @@ "headers": [{ "key": "Cache-Control", "value": "no-store" }] }, { - "source": "/activity", + "source": "/activity(.*)", "headers": [ { "key": "X-Content-Type-Options", "value": "nosniff" }, {