nextjs api route request.url origin returns 0.0.0.0:3000 with domain assigned

This is because Vercel is doing its own special sauce vs your standalone dockerized app. Same reason why you won’t have access to the fancy geo object. I believe you can find all the info in the request.headers object though.

Also, you should set ENV HOSTNAME :: so that your other fly apps can communicate w/ it.