Hi everyone!
Has anyone ever tried port a React web app on Serverless (using Netlify Functions) to a mobile app using Ionic/Capacitor?
I am trying this now, but the requests to the serverless functions just don’t work. I wonder if they are compatible at all.
If it is possible, is there any doc or tutorial guiding on to configure it?
Right now, I can make my project build and run on an Android emulator, but every request to my serverless functions are not actually processed by the functions and just return an HTML response.
I am using Netlify Functions, which are built in a /functions/
folder that it’s not included in the /build
folder. I assume there is no server running in the app too. So the requests to endpoints like http://localhost/.netlify/functions/users-login
return an HTML, not the expected processed JSON.
Any clues?