mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
cfbaa8a767
* deprecation(vercel): `vercel-edge-middleware.js` file * add changeset * `Astro.locals.waitUntil()` -> `Astro.locals.vercel.edge.waitUntil()` * export edge locals interface
396 B
396 B
@astrojs/vercel |
---|
minor |
The special-case handling of src/vercel-edge-middleware.js
file is now deprecated. This file allowed you to access the edge runtime's RequestContext
object, and create the middleware locals
from its fields. However, this object includes only one field - the waitUntil()
function - which is now available directly as ctx.locals.vercel.edge.waitUntil()
.