TanStackT
TanStack5mo ago
3 replies
worthy-azure

How to access request headers in middleware?

I would like to reject certain requests based on the origin header. How can I access it in the middleware?
Was this page helpful?