I have a Static Web App, with Azure functions for a backend. Using local development, I can get the functions to work, but when deployed they return 500 or 404. The functions work locally when I use fetch with localhost:7071 i.e.
fetch('https://localhost:7071/api/getName?game=slug') but not with
I'm using a SvelteKit front-end, with the svelte-adapter-azure-swa. I'm really confused because I've gotten other similar applications to work (with React front end).