{ "rewrites": [ { "source": "/old-path", "destination": "/new-path" } ], "headers": [ { "source": "/(.*)", "headers": [ { "key": "X-Custom-Header", "value": "My Value" } ] } ], "functions": { "api/**/*.ts": { "runtime": "nodejs20.x" } } }