I am trying to get a function to run in my environment: https://angry-curie-1bd84e.netlify.com/
I followed instructions here GitHub - netlify/netlify-lambda: Helps building and serving lambda functions locally and in CI environments to set up netlify-lambda locally in conjunction with netlify dev.
The good stuff: when running netlify dev, I can access the function under http://localhost:8888/.netlify/functions/hello. When I netlify deploy, I can access the function with /.netlify/functions/hello and also when I deploy to production with netlify deploy -p, I can access the function under https://5e187c54c11450d57cc78bc1--angry-curie-1bd84e.netlify.com/.netlify/functions/hello (this is the Unique Deploy URL).
The not so good part: The function is NOT accessible under the Live URL https://angry-curie-1bd84e.netlify.com/house-data/.netlify/functions/hello.
Is it just me or is that very strange? Especially that it’s on the Unique Deploy URL but not on the Live URL…
The deploy info:
Deploying to live site URL…
Finished hashing 24 files and 1 functions
CDN requesting 1 files and 0 functions
Finished uploading 1 assets
Deploy is live!
→ it even mentions the function there…
My repo is here: GitHub - repetitioestmaterstudiorum/ubiqum-tgif: Ubiqum MERN bootcamp 2nd project - it includes package.json, netlify.toml and the hello world function I’m trying to get to work…
I’d appreciate any help Thank you!