Transform rules are now available in vercel.json
Vercel adds transform rules to vercel.json, letting developers modify HTTP request and response headers or query parameters via config without changing application code.
You can now define transform rules in to modify HTTP request and response headers or query parameters, without changing application code.vercel.json Unlimited transform rules are available for all customers, and let you: This expands the flexibility of Vercel's CDN, which already supports routing behavior like redirects and rewrites to external origins. For example: Refer to the for detailed examples.
transform rules documentation Read more Set, append, or delete request headers, response headers, and query parameters Use conditional logic to apply changes based on request metadata Match by equality, inequality, prefixes, suffixes, inclusion in string arrays, or numeric comparisons for fine-grained control