I followed the Nuxt integration docs and confirm it works when plain app deployed to production. However, when I add a demo “hello world” edge function based on this example here, the edge function works fine locally when using Netlify dev and accessing the path /test
, but when deployed to production, the edge function is not invoked when accessing the path. The logs also show nothing.
I did add the netlify_edge
preset to the nuxt.config.ts
file.
Here’s the app link: Welcome to Nuxt! (modernmedlife-netlify-stream.netlify.app)
Code screenshot:
What am I doing wrong?