Local go functions & middleware

Hi!
I’m playing around with golang serverless functions. I finally got it to work locally leveraging vercel dev command. I can see my /api/helloworld route working!

However, I notice that, when I’m calling a golang function locally, the middleware doesn’t seem to invoke.

When I deploy and run, middleware is invoked. I can see via the log (there is the “m”, and a console.log that I added shows up).

Is this expected?

Thanks!

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