#Request Middleware
6 messages · Page 1 of 1 (latest)
I think vercel has some specificities you can try.
How about you put that code in a functio to ease the reuse, I'm afraid in Atro I'm not aware of such thing, here the runtime API reference https://docs.astro.build/en/reference/api-reference/
this is not framework specific and applies in all vercel deployments I think https://vercel.com/docs/concepts/functions/edge-middleware
but indeed it's easier if it's generated depending on your adapter.