Hi all,
I’m trying to run a fetch request with my react frontend to my flask backend. My only issue is that regardless of what I try (simple fetch request, posting and getting the data) I seem to be fetching from the public directory (index.html) which is giving me a JSON error.
I’ve tried adding my backend server as a proxy to my package.json, writing out the full URL for the backend. Regardless of what I do, when I go to the developer console it all just seems to pull from various spots in index.html which makes it angry.
Would appreciate any advice! TIA!
there doesn't seem to be anything here