chore: add routes to wrangler config#930
Conversation
PR SummaryMedium Risk Overview This enables the worker to be deployed behind those host/path patterns instead of relying on default dev routing. Reviewed by Cursor Bugbot for commit f9eca30. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Pull request overview
Adds production route patterns to the Cloudflare Worker configuration so the worker handles requests for the relevant nodejs.org paths and r2.nodejs.org.
Changes:
- Adds a
routesarray to theprodenvironment inwrangler.jsonccovering/api,/dist,/docs,/download,/metrics, thenode-config-schema.jsonfile, andr2.nodejs.org/*.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.