How to use deploy functions with a svelte project using wrangler?
I have a simple Svelte project built and deployed to CF Pages with Wrangler. Since then, I've added a
/functions/helloworld.js
and after I redeploy the code and try to hit /helloworld
I get a 404. When I look in the dashboard I also don't see any mention of helloworld
1 Reply
I tried disabling it in
svelte.config.js
Then ran npm run pages:deploy
and it still give me a 404
OK, thank you, I'll have to play around with that more.
I appreciate the help.