Does Render support middleware.ts on node or on edge?

I’m adding supabase auth service to my nextjs app where I need to hook up middleware.ts to refresh tokens.

But middleware.ts is treated special by next in terms of running it on the edge by default:

“Middleware defaults to using the Edge runtime. As of v15.2 (canary), we have experimental support for using the Node.js runtime.”

My question is how does Render treat middleware for deployed applications? Are there any documentations, best practices, code examples we can follow?

Thanks in advance for any pointer on this topic.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.