mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
a6916e4402
* feat: change node clientAddress use x-forwarded-for when ``` adapter: node({ mode: 'standalone', }) ``` * feat: prefer using x-forwarded-for as clientAddress * Update .changeset/healthy-planets-dream.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Update .changeset/healthy-planets-dream.md Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> * Apply suggestions from code review --------- Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
7 lines
269 B
Markdown
7 lines
269 B
Markdown
---
|
|
"astro": minor
|
|
---
|
|
|
|
Updates Astro's code for adapters to use the header `x-forwarded-for` to initialize the `clientAddress`.
|
|
|
|
To take advantage of the new change, integration authors must upgrade the version of Astro in their adapter `peerDependencies` to `4.9.0`.
|