TanStackT
TanStack14mo ago
6 replies
progressive-amaranth

Is there any way to have middleware for API Routes

As far as I can read from the docs, I can create middleware for server functions, however, it doesn't seem to state anything about API Routes, did I miss it ? Is there any way to create middleware for them ?
Was this page helpful?