summaryrefslogtreecommitdiff
path: root/examples/framework-multiple/src
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@skypack.dev> 2024-12-05 08:10:21 -0500
committerGravatar GitHub <noreply@github.com> 2024-12-05 13:10:21 +0000
commit306c9f9a9ae08d194ca2a066ab71cde02eeb0874 (patch)
tree10401623f9d7be6186af21a88b4366cfc20ea121 /examples/framework-multiple/src
parent5b9b6181839d8ae0ad0a0d475257b7e09f748950 (diff)
downloadastro-306c9f9a9ae08d194ca2a066ab71cde02eeb0874.tar.gz
astro-306c9f9a9ae08d194ca2a066ab71cde02eeb0874.tar.zst
astro-306c9f9a9ae08d194ca2a066ab71cde02eeb0874.zip
Keep clientAddress on cloned requests (#12613)
* Keep clientAddress on cloned requests User observed that calling actions resulted in an error about not having clientRequest available. This is because the user had a middleware that cloned the request, which loses all of the symbols. The fix is to pass the clientAddress directly into the RenderContext. This deprecates the `clientAddressSymbol`, but we need to keep it for now because some adapters set the clientAddress that way. Note that similar fixes should be done for other symbol usage on the Request object (locals is one). * changeset * fix build stuff * Update packages/astro/src/core/render-context.ts * Update changeset
Diffstat (limited to 'examples/framework-multiple/src')
0 files changed, 0 insertions, 0 deletions