Deploy bff in NestJs

Hi, I can deploy my bff site in “pages”, the build was executed correctly, but when I go to the url and it gives a 404 error.

Can someone help me?

If you have a repo of your code, it will be quicker for us to debug. It sounds like your output directory is pointing to the wrong place.

Hi, this is the repo
I don’t get any error, all the deployment ends well

It seems that nest uses express to serve, which isn’t supported on Pages. You need to make your site static.

ok, thanks for helping me. I have to see what I do now with this

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.