Hey guys, I've spent the last two days trying to figure this out and still scratching my head.. I
Hey guys, I've spent the last two days trying to figure this out and still scratching my head..
I setup a clean install of an astro site with wrangler. Enabled directory mode and added a simple endpoint in functions/api/index.js. When I run
I uploaded my project on github for reference https://github.com/OptimizeAd/astro-cloudflare-functions
I setup a clean install of an astro site with wrangler. Enabled directory mode and added a simple endpoint in functions/api/index.js. When I run
npm run preview and I try to hit that endpoint using the server URL I just get a 404 error. Where am I going wrong here? I uploaded my project on github for reference https://github.com/OptimizeAd/astro-cloudflare-functions
GitHub
Contribute to OptimizeAd/astro-cloudflare-functions development by creating an account on GitHub.




