mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
0699f34d5c
* feat(vercel): verification for edge middleware * add changeset * Apply suggestions from code review --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
425 B
425 B
@astrojs/vercel |
---|
minor |
Implements verification for edge middleware. This is a security measure to ensure that your serverless functions are only ever called by your edge middleware and not a third party.
When edgeMiddleware
is enabled, the serverless function will now respond with 403 Forbidden
for requests that are not verified to have come from the generated edge middleware. No user action is necessary.