I’m trying to deploy a netlify function on thepassle.netlify.app. Locally when running netlify dev, everything works. But when I deploy my function with netlify deploy --dir=public, I get a http 500.
I figured I’d take a look at the function logs, but I don’t seem to get any kind of logging there; not for thepassle.netlify.app, or any of the preview or unique deploy urls.
Not really sure what I’m doing wrong, you can find my project on github here: GitHub - thepassle/blog
I tried changing it to /*, and now I do see something rendered. But this gives me another issue: error decoding lambda response: error decoding lambda response: unexpected end of JSON input, because I’m dynamically fetching some static assets. I’ve added preferStatic: true to my config export, and that seems to have done the trick, its rendering correctly now
Hey Pascal! I’ve looked into this, and there indeed seems to be a bug around the / route. Wrote a fix and am rolling it out over the coming days, will let you know once that’s done