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
This commit is contained in:
sirpiglr 2025-12-08 01:12:04 +00:00
parent 299ec7e17b
commit 19f0808271

View file

@ -133,7 +133,7 @@
"headers": [{ "key": "Cache-Control", "value": "no-store" }]
},
{
"source": "/activity",
"source": "/activity(.*)",
"headers": [
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{