I am trying to get a function to run in my environment: https://angry-curie-1bd84e.netlify.com/
I followed instructions here https://github.com/netlify/netlify-lambda 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: https://github.com/sunyamare/ubiqum-tgif - 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!