I should mention also, the command ntl devdoes serve the app, but it does not have things like live refresh, or any refresh, so that’s why I am using one command for vite and another for the functions.
If I start it with ntl dev, though, then the functions do work like I expect them too, and I get a proper response in the browser console.