index.ts
Local testing
Why it works this way
config.path: "/users/:id"— the:idis captured inctx.params.id.- Credentials are never exposed to the client; they live in secrets.
cors.originrestricts which domains can call the proxy from the browser.- You can transform or filter the response before returning it.