apostrophe-astro 1.0.6: hotfix for 404's caused by latest Node 18.x and Node 20.x releases #4481
boutell
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The latest patchlevels of Node 18 and Node 20 moved the goalposts a little: their implementations of
fetch
now consider changing theHost
header, which was formerly permitted, to be a security violation even in a server-side request. This caused 404's on pages powered byapostrophe-astro
. This issue was fixed by switching to the undici library.Thanks to Michelin for contributing this fix.
See the apostrophe astro documentation for more information about this module, which allows Astro websites to obtain their content from Apostrophe and fully supports on-page editing.
Beta Was this translation helpful? Give feedback.
All reactions