Trying to get Azure AI to work with Nuxt 3
For some reason, when I push this script in the server/api folder to cloudflare pages it fails every time, returning a 500 error code.When I run it with the same environment variables in development mode it works fine. Any Ideas on how to fix this?