Deploying Express with React - 404 status code

There’s no mention of this in the instructions. What would be the reasoning behind adding this? As result of doing this the Express app is now being serving the URLS.

adding functions = "netlify/functions/" under the [build] section in the netlify.toml file seems to fix it.

https://answers.netlify.com/t/deploy-express-js-to-netlify/91801/13

Yet the source files are still being displayed as you mentioned like package.json as example. I’m not clear on what do to this fix this particular issue now.